{
 "instance": {
  "brhc10049177_20f.htm": {
   "axisCustom": 0,
   "axisStandard": 26,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2022": 1013,
    "http://xbrl.sec.gov/dei/2022": 85
   },
   "contextCount": 448,
   "dts": {
    "calculationLink": {
     "local": [
      "ctrm-20221231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "ctrm-20221231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "brhc10049177_20f.htm"
     ]
    },
    "labelLink": {
     "local": [
      "ctrm-20221231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "ctrm-20221231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "ctrm-20221231.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://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/currency/2022/currency-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/exch/2022/exch-2022.xsd",
      "https://xbrl.sec.gov/naics/2022/naics-2022.xsd",
      "https://xbrl.sec.gov/sic/2022/sic-2022.xsd",
      "https://xbrl.sec.gov/stpr/2022/stpr-2022.xsd"
     ]
    }
   },
   "elementCount": 697,
   "entityCount": 1,
   "hidden": {
    "http://castormaritime.com/20221231": 85,
    "http://fasb.org/us-gaap/2022": 1,
    "http://xbrl.sec.gov/dei/2022": 6,
    "total": 92
   },
   "keyCustom": 113,
   "keyStandard": 262,
   "memberCustom": 141,
   "memberStandard": 23,
   "nsprefix": "ctrm",
   "nsuri": "http://castormaritime.com/20221231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "000100 - Document - Document and Entity Information",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://castormaritime.com/role/DocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060100 - Disclosure - Basis of Presentation and General information",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformation",
     "shortName": "Basis of Presentation and General information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060200 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncements",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060300 - Disclosure - Transactions with Related Parties",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://castormaritime.com/role/TransactionsWithRelatedParties",
     "shortName": "Transactions with Related Parties",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060400 - Disclosure - Deferred Charges, net",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://castormaritime.com/role/DeferredChargesNet",
     "shortName": "Deferred Charges, net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060500 - Disclosure - Fair Value of Acquired Time Charters",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://castormaritime.com/role/FairValueOfAcquiredTimeCharters",
     "shortName": "Fair Value of Acquired Time Charters",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060600 - Disclosure - Vessels, net/ Advances for vessel acquisitions",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitions",
     "shortName": "Vessels, net/ Advances for vessel acquisitions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LongTermDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060700 - Disclosure - Long-Term Debt",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://castormaritime.com/role/LongtermDebt",
     "shortName": "Long-Term Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LongTermDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060800 - Disclosure - Equity Capital Structure",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://castormaritime.com/role/EquityCapitalStructure",
     "shortName": "Equity Capital Structure",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060900 - Disclosure - Financial Instruments and Fair Value Disclosures",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://castormaritime.com/role/FinancialInstrumentsAndFairValueDisclosures",
     "shortName": "Financial Instruments and Fair Value Disclosures",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061000 - Disclosure - Commitments and Contingencies",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://castormaritime.com/role/CommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "010000 - Statement - CONSOLIDATED BALANCE SHEETS",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://castormaritime.com/role/ConsolidatedBalanceSheets",
     "shortName": "CONSOLIDATED BALANCE SHEETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:InventoryNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061100 - Disclosure - (Loss)/Earnings Per Common Share",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://castormaritime.com/role/LossEarningsPerCommonShare",
     "shortName": "(Loss)/Earnings Per Common Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061200 - Disclosure - Total Vessel Revenues",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://castormaritime.com/role/TotalVesselRevenues",
     "shortName": "Total Vessel Revenues",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:VesselOperatingAndVoyageExpensesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061300 - Disclosure - Vessel Operating Expenses and Voyage Expenses",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpenses",
     "shortName": "Vessel Operating Expenses and Voyage Expenses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:VesselOperatingAndVoyageExpensesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:GeneralAndAdministrativeExpensesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061400 - Disclosure - General and Administrative Expenses",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpenses",
     "shortName": "General and Administrative Expenses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:GeneralAndAdministrativeExpensesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061500 - Disclosure - Interest and Finance Costs",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://castormaritime.com/role/InterestAndFinanceCosts",
     "shortName": "Interest and Finance Costs",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061600 - Disclosure - Income Taxes",
     "menuCat": "Notes",
     "order": "25",
     "role": "http://castormaritime.com/role/IncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061700 - Disclosure - Segment Information",
     "menuCat": "Notes",
     "order": "26",
     "role": "http://castormaritime.com/role/SegmentInformation",
     "shortName": "Segment Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061800 - Disclosure - Subsequent Events",
     "menuCat": "Notes",
     "order": "27",
     "role": "http://castormaritime.com/role/SubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "070200 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements (Policies)",
     "menuCat": "Policies",
     "order": "28",
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:VesselOwningSubsidiariesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "080100 - Disclosure - Basis of Presentation and General Information (Tables)",
     "menuCat": "Tables",
     "order": "29",
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables",
     "shortName": "Basis of Presentation and General Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:VesselOwningSubsidiariesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "U003",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "010100 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
     "shortName": "CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "080300 - Disclosure - Transactions with Related Parties (Tables)",
     "menuCat": "Tables",
     "order": "30",
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesTables",
     "shortName": "Transactions with Related Parties (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "080400 - Disclosure - Deferred Charges, net (Tables)",
     "menuCat": "Tables",
     "order": "31",
     "role": "http://castormaritime.com/role/DeferredChargesNetTables",
     "shortName": "Deferred Charges, net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "080600 - Disclosure - Vessels, net/ Advances for vessel acquisitions (Tables)",
     "menuCat": "Tables",
     "order": "32",
     "role": "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsTables",
     "shortName": "Vessels, net/ Advances for vessel acquisitions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "080700 - Disclosure - Long-Term Debt (Tables)",
     "menuCat": "Tables",
     "order": "33",
     "role": "http://castormaritime.com/role/LongtermDebtTables",
     "shortName": "Long-Term Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081000 - Disclosure - Commitments and Contingencies (Tables)",
     "menuCat": "Tables",
     "order": "34",
     "role": "http://castormaritime.com/role/CommitmentsAndContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081100 - Disclosure - (Loss)/Earnings Per Common Share (Tables)",
     "menuCat": "Tables",
     "order": "35",
     "role": "http://castormaritime.com/role/LossEarningsPerCommonShareTables",
     "shortName": "(Loss)/Earnings Per Common Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081200 - Disclosure - Total Vessel Revenues (Tables)",
     "menuCat": "Tables",
     "order": "36",
     "role": "http://castormaritime.com/role/TotalVesselRevenuesTables",
     "shortName": "Total Vessel Revenues (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:VesselOperatingExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081300 - Disclosure - Vessel Operating Expenses and Voyage Expenses (Tables)",
     "menuCat": "Tables",
     "order": "37",
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables",
     "shortName": "Vessel Operating Expenses and Voyage Expenses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:VesselOperatingExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:GeneralAndAdministrativeExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081400 - Disclosure - General and Administrative Expenses (Tables)",
     "menuCat": "Tables",
     "order": "38",
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpensesTables",
     "shortName": "General and Administrative Expenses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:GeneralAndAdministrativeExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081500 - Disclosure - Interest and Finance Costs (Tables)",
     "menuCat": "Tables",
     "order": "39",
     "role": "http://castormaritime.com/role/InterestAndFinanceCostsTables",
     "shortName": "Interest and Finance Costs (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "020000 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS)/INCOME",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS)/INCOME",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:CostsAndExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "081700 - Disclosure - Segment Information (Tables)",
     "menuCat": "Tables",
     "order": "40",
     "role": "http://castormaritime.com/role/SegmentInformationTables",
     "shortName": "Segment Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommonStockSharesIssued",
       "us-gaap:CommonStockSharesOutstanding",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesIssued",
      "reportCount": 1,
      "unitRef": "U001",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090100 - Disclosure - Basis of Presentation and General information, General Information (Details)",
     "menuCat": "Details",
     "order": "41",
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
     "shortName": "Basis of Presentation and General information, General Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231_PropertyPlantAndEquipmentByTypeAxis_CapesizeVesselMember",
      "decimals": "INF",
      "lang": null,
      "name": "ctrm:NumberOfVessels",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U005",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityIncorporationStateCountryCode",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090102 - Disclosure - Basis of Presentation and General information, Vessel Owning Subsidiaries (Details)",
     "menuCat": "Details",
     "order": "42",
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
     "shortName": "Basis of Presentation and General information, Vessel Owning Subsidiaries (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_PropertyPlantAndEquipmentByTypeAxis_MagicPMember",
      "decimals": "0",
      "lang": null,
      "name": "ctrm:VesselDeadWeightTonnage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U006",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_ConcentrationRiskByBenchmarkAxis_SalesRevenueNetMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_CharterersMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U004",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090104 - Disclosure - Basis of Presentation and General information, Revenue from Charters (Details)",
     "menuCat": "Details",
     "order": "43",
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails",
     "shortName": "Basis of Presentation and General information, Revenue from Charters (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_ConcentrationRiskByBenchmarkAxis_SalesRevenueNetMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_CharterersMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U004",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221001to20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unitRef": "U007",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090200 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Segment Reporting (Details)",
     "menuCat": "Details",
     "order": "44",
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsSegmentReportingDetails",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Segment Reporting (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProvisionForDoubtfulAccounts",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090202 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Accounts Receivable Trade, Net (Details)",
     "menuCat": "Details",
     "order": "45",
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsAccountsReceivableTradeNetDetails",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Accounts Receivable Trade, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090204 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Vessels' Depreciation (Details)",
     "menuCat": "Details",
     "order": "46",
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsVesselsDepreciationDetails",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Vessels' Depreciation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfImpairedVessels",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U005",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090206 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Impairment of Long-lived Assets (Details)",
     "menuCat": "Details",
     "order": "47",
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsImpairmentOfLonglivedAssetsDetails",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Impairment of Long-lived Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfImpairedVessels",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U005",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:RevenueFromContractWithCustomerNumberOfPerformanceObligations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U008",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090208 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Revenues Related to Voyage Charter Contracts (Details)",
     "menuCat": "Details",
     "order": "48",
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsRevenuesRelatedToVoyageCharterContractsDetails",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Revenues Related to Voyage Charter Contracts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:RevenueFromContractWithCustomerNumberOfPerformanceObligations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U008",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:RelatedPartyTransactionManagementFees",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090300 - Disclosure - Transactions with Related Parties, Summary (Details)",
     "menuCat": "Details",
     "order": "49",
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
     "shortName": "Transactions with Related Parties, Summary (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_RelatedPartyTransactionsByRelatedPartyAxis_CastorShipsSAMember",
      "decimals": "0",
      "lang": null,
      "name": "ctrm:RelatedPartyTransactionManagementFees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:VoyageExpensesRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "020100 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS)/INCOME (Parenthetical)",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncomeParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS)/INCOME (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:VoyageExpensesRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfThirdPartyShipManagementCompanies",
      "reportCount": 1,
      "unitRef": "U010",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090302 - Disclosure - Transactions with Related Parties, Castor Ships (Details)",
     "menuCat": "Details",
     "order": "50",
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
     "shortName": "Transactions with Related Parties, Castor Ships (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_BalanceSheetLocationAxis_PropertyPlantAndEquipmentNetMember_RelatedPartyTransactionsByRelatedPartyAxis_CastorShipsSAMember",
      "decimals": "0",
      "lang": null,
      "name": "ctrm:RelatedPartyTransactionSaleAndPurchaseCommission",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DueToRelatedPartiesCurrent",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090304 - Disclosure - Transactions with Related Parties, Pavimar (Details)",
     "menuCat": "Details",
     "order": "51",
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
     "shortName": "Transactions with Related Parties, Pavimar (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220701to20221231_RelatedPartyTransactionAxis_TechnicalShipmanagementAgreementsMember_RelatedPartyTransactionsByRelatedPartyAxis_PavimarSAMember",
      "decimals": "0",
      "lang": null,
      "name": "ctrm:RelatedPartyTransactionFixedDailyFee",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U009",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RepaymentsOfRelatedPartyDebt",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090306 - Disclosure - Transactions with Related Parties, Thalassa (Details)",
     "menuCat": "Details",
     "order": "52",
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
     "shortName": "Transactions with Related Parties, Thalassa (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20190830_DebtInstrumentAxis_TermLoanFacilityMember_RelatedPartyTransactionsByRelatedPartyAxis_ThalassaInvestmentCoSAMember",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTwoMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090310 - Disclosure - Transactions with Related Parties, Vessel Acquisitions (Details)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
     "shortName": "Transactions with Related Parties, Vessel Acquisitions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221026to20221026_RelatedPartyTransactionsByRelatedPartyAxis_ThirdPartyInWhichFamilyMemberOfPetrosPanagiotidisHadMinorityInterestMember",
      "decimals": "INF",
      "lang": null,
      "name": "ctrm:NumberOfWhollyOwnedSubsidiariesEnteringIntoAgreementsWithRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:MinimumAgeOfVesselsParticipatingInTankerPool",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090312 - Disclosure - Transactions with Related Parties, Entry into Pool Agreement with V8 Pool Inc. (Details)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesEntryIntoPoolAgreementWithV8PoolIncDetails",
     "shortName": "Transactions with Related Parties, Entry into Pool Agreement with V8 Pool Inc. (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctrm:MinimumAgeOfVesselsParticipatingInTankerPool",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20211231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CapitalizedContractCostNetNoncurrent",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090400 - Disclosure - Deferred Charges, net (Details)",
     "menuCat": "Details",
     "order": "55",
     "role": "http://castormaritime.com/role/DeferredChargesNetDetails",
     "shortName": "Deferred Charges, net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20191231",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:CapitalizedContractCostNetNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AmortizationOfAboveAndBelowMarketLeases",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090500 - Disclosure - Fair Value of Acquired Time Charters (Details)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
     "shortName": "Fair Value of Acquired Time Charters (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "lang": null,
      "name": "ctrm:AboveMarketLeaseAmortizationYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20211231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentNet",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090600 - Disclosure - Vessels, net/ Advances for vessel acquisitions, Net Book Value (Details)",
     "menuCat": "Details",
     "order": "57",
     "role": "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails",
     "shortName": "Vessels, net/ Advances for vessel acquisitions, Net Book Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20191231_PropertyPlantAndEquipmentByTypeAxis_VesselsMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "ctrm:VesselDeadWeightTonnage",
      "reportCount": 1,
      "unitRef": "U006",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090602 - Disclosure - Vessels, net/ Advances for vessel acquisitions, Vessel Acquisitions/Disposal and Other Capital Expenditures (Details)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails",
     "shortName": "Vessels, net/ Advances for vessel acquisitions, Vessel Acquisitions/Disposal and Other Capital Expenditures (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "lang": null,
      "name": "ctrm:NumberOfVesselsMortgagedAsCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U005",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20211231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:AdvancesForVesselAcquisitions",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090604 - Disclosure - Vessels, net/ Advances for vessel acquisitions, Advances for Vessel Acquisitions (Details)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsAdvancesForVesselAcquisitionsDetails",
     "shortName": "Vessels, net/ Advances for vessel acquisitions, Advances for Vessel Acquisitions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20201231",
      "decimals": "0",
      "lang": null,
      "name": "ctrm:AdvancesForVesselAcquisitions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20191231_StatementEquityComponentsAxis_ParValueOfSharesIssuedMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "030000 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
     "shortName": "CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20191231_StatementEquityComponentsAxis_ParValueOfSharesIssuedMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090700 - Disclosure - Long-Term Debt, Long-Term Debt (Details)",
     "menuCat": "Details",
     "order": "60",
     "role": "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
     "shortName": "Long-Term Debt, Long-Term Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DeferredFinanceCostsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090702 - Disclosure - Long-Term Debt, $11.0 Million Term Loan Facility (Details)",
     "menuCat": "Details",
     "order": "61",
     "role": "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
     "shortName": "Long-Term Debt, $11.0 Million Term Loan Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20191122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityAlphaBankSA2019Member",
      "decimals": "INF",
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalInternationalFinancialServicesCoLtdMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090704 - Disclosure - Long-Term Debt, $4.5 Million Term Loan Facility (Details)",
     "menuCat": "Details",
     "order": "62",
     "role": "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
     "shortName": "Long-Term Debt, $4.5 Million Term Loan Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalInternationalFinancialServicesCoLtdMember",
      "decimals": "INF",
      "lang": null,
      "name": "ctrm:DebtInstrumentNumberOfPaymentInstallments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U015",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJanuary2021Member",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090706 - Disclosure - Long-Term Debt, $15.29 Million Term Loan Facility (Details)",
     "menuCat": "Details",
     "order": "63",
     "role": "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
     "shortName": "Long-Term Debt, $15.29 Million Term Loan Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJanuary2021Member",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210427_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityAlphaBankSA2021Member",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090708 - Disclosure - Long-Term Debt, $18.0 Million Term Loan Facility (Details)",
     "menuCat": "Details",
     "order": "64",
     "role": "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
     "shortName": "Long-Term Debt, $18.0 Million Term Loan Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210427_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityAlphaBankSA2021Member",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210723_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJuly2021Member",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090710 - Disclosure - Long-Term Debt, $40.75 Million Term Loan Facility (Details)",
     "menuCat": "Details",
     "order": "65",
     "role": "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
     "shortName": "Long-Term Debt, $40.75 Million Term Loan Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210723_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJuly2021Member",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20211122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090712 - Disclosure - Long-Term Debt, $23.15 Million Term Loan Facility (Details)",
     "menuCat": "Details",
     "order": "66",
     "role": "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
     "shortName": "Long-Term Debt, $23.15 Million Term Loan Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20211122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220113_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityDeutscheBankAgMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090716 - Disclosure - Long-Term Debt, $55.0 Million Term Loan Facility (Details)",
     "menuCat": "Details",
     "order": "67",
     "role": "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
     "shortName": "Long-Term Debt, $55.0 Million Term Loan Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220112_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityDeutscheBankAgMember",
      "decimals": "INF",
      "lang": null,
      "name": "ctrm:NumberOfSubsidiariesProvidingSecurityForTermLoanFacility",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U011",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOfDebt",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090718 - Disclosure - Long-Term Debt, $22.5 Million Term Loan Facility (Details)",
     "menuCat": "Details",
     "order": "68",
     "role": "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
     "shortName": "Long-Term Debt, $22.5 Million Term Loan Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTwoMember",
      "decimals": "-5",
      "lang": null,
      "name": "ctrm:DebtInstrumentBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "ctrm:MinimumLiquidityDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090720 - Disclosure - Long-Term Debt, Annual Principal Payments (Details)",
     "menuCat": "Details",
     "order": "69",
     "role": "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
     "shortName": "Long-Term Debt, Annual Principal Payments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "ctrm:MinimumLiquidityDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20201231_DebtInstrumentAxis_ConvertibleDebenturesMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "030100 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Parenthetical)",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:CapitalStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090800 - Disclosure - Equity Capital Structure, Capital Stock (Details)",
     "menuCat": "Details",
     "order": "70",
     "role": "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails",
     "shortName": "Equity Capital Structure, Capital Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:CapitalStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:CommonStockVotingRightsNumberOfVotes",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U017",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090802 - Disclosure - Equity Capital Structure, Common Shares (Details)",
     "menuCat": "Details",
     "order": "71",
     "role": "http://castormaritime.com/role/EquityCapitalStructureCommonSharesDetails",
     "shortName": "Equity Capital Structure, Common Shares (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:CommonStockVotingRightsNumberOfVotes",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U017",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20200623",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:PublicOfferingNumberOfUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090804 - Disclosure - Equity Capital Structure, 2020 June Equity Offering (Details)",
     "menuCat": "Details",
     "order": "72",
     "role": "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
     "shortName": "Equity Capital Structure, 2020 June Equity Offering (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20200623",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:PublicOfferingNumberOfUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOrSaleOfEquity",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090806 - Disclosure - Equity Capital Structure, 2020 July Equity Offering (Details)",
     "menuCat": "Details",
     "order": "73",
     "role": "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
     "shortName": "Equity Capital Structure, 2020 July Equity Offering (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20200712_ClassOfWarrantOrRightAxis_PrivatePlacementWarrantsMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOrSaleOfEquity",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090808 - Disclosure - Equity Capital Structure, 2021 First Registered Direct Equity Offering (Details)",
     "menuCat": "Details",
     "order": "74",
     "role": "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
     "shortName": "Equity Capital Structure, 2021 First Registered Direct Equity Offering (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210210to20210210_ClassOfWarrantOrRightAxis_January5WarrantsMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOrSaleOfEquity",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090810 - Disclosure - Equity Capital Structure, 2021 Second Registered Direct Equity Offering (Details)",
     "menuCat": "Details",
     "order": "75",
     "role": "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
     "shortName": "Equity Capital Structure, 2021 Second Registered Direct Equity Offering (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210210to20210210_ClassOfWarrantOrRightAxis_January12WarrantsMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOrSaleOfEquity",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090812 - Disclosure - Equity Capital Structure, 2021 Third Registered Direct Equity Offering (Details)",
     "menuCat": "Details",
     "order": "76",
     "role": "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
     "shortName": "Equity Capital Structure, 2021 Third Registered Direct Equity Offering (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210405_ClassOfWarrantOrRightAxis_April7WarrantsMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOrSaleOfEquity",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090814 - Disclosure - Equity Capital Structure, At-the-Market Common Stock Offering (Details)",
     "menuCat": "Details",
     "order": "77",
     "role": "http://castormaritime.com/role/EquityCapitalStructureAtthemarketCommonStockOfferingDetails",
     "shortName": "Equity Capital Structure, At-the-Market Common Stock Offering (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_SubsidiarySaleOfStockAxis_AtTheMarketProgramMember",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210528",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesOutstanding",
      "reportCount": 1,
      "unitRef": "U001",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090816 - Disclosure - Equity Capital Structure, Reverse Stock Split (Details)",
     "menuCat": "Details",
     "order": "78",
     "role": "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitDetails",
     "shortName": "Equity Capital Structure, Reverse Stock Split (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PreferredStockParOrStatedValuePerShare",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20170922",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "U003",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090818 - Disclosure - Equity Capital Structure, Preferred Shares (Details)",
     "menuCat": "Details",
     "order": "79",
     "role": "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
     "shortName": "Equity Capital Structure, Preferred Shares (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20170922to20170922_StatementClassOfStockAxis_SeriesAPreferredStockMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "040000 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "lang": null,
      "name": "ctrm:DepreciationAndAmortizationOfDeferredDryDockingCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20210101to20211231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockRedeemedOrCalledDuringPeriodValue",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090820 - Disclosure - Equity Capital Structure, Series A Preferred Shares Redemption (Details)",
     "menuCat": "Details",
     "order": "80",
     "role": "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails",
     "shortName": "Equity Capital Structure, Series A Preferred Shares Redemption (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20211208to20211208_StatementClassOfStockAxis_SeriesAPreferredStockMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:StockRedeemedOrCalledDuringPeriodShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_StatementClassOfStockAxis_SeriesBPreferredStockMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:PreferredStockVotingPowerInNumberOfCommonShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "090822 - Disclosure - Equity Capital Structure, Description of Series B Preferred Shares (Details)",
     "menuCat": "Details",
     "order": "81",
     "role": "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
     "shortName": "Equity Capital Structure, Description of Series B Preferred Shares (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231_StatementClassOfStockAxis_SeriesBPreferredStockMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ctrm:PreferredStockVotingPowerInNumberOfCommonShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091000 - Disclosure - Commitments and Contingencies (Details)",
     "menuCat": "Details",
     "order": "82",
     "role": "http://castormaritime.com/role/CommitmentsAndContingenciesDetails",
     "shortName": "Commitments and Contingencies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091100 - Disclosure - (Loss)/Earnings Per Common Share (Details)",
     "menuCat": "Details",
     "order": "83",
     "role": "http://castormaritime.com/role/LossEarningsPerCommonShareDetails",
     "shortName": "(Loss)/Earnings Per Common Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:WeightedAverageNumberDilutedSharesOutstandingAdjustment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091200 - Disclosure - Total Vessel Revenues (Details)",
     "menuCat": "Details",
     "order": "84",
     "role": "http://castormaritime.com/role/TotalVesselRevenuesDetails",
     "shortName": "Total Vessel Revenues (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231_ProductOrServiceAxis_VoyageCharterMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:AccountsReceivableNetCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LaborAndRelatedExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091300 - Disclosure - Vessel Operating Expenses and Voyage Expenses (Details)",
     "menuCat": "Details",
     "order": "85",
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails",
     "shortName": "Vessel Operating Expenses and Voyage Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LaborAndRelatedExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OfficersCompensation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091400 - Disclosure - General and Administrative Expenses (Details)",
     "menuCat": "Details",
     "order": "86",
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
     "shortName": "General and Administrative Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OfficersCompensation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091500 - Disclosure - Interest and Finance Costs (Details)",
     "menuCat": "Details",
     "order": "87",
     "role": "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
     "shortName": "Interest and Finance Costs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091600 - Disclosure - Income Taxes (Details)",
     "menuCat": "Details",
     "order": "88",
     "role": "http://castormaritime.com/role/IncomeTaxesDetails",
     "shortName": "Income Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfContainershipsAcquired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U005",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091700 - Disclosure - Segment Information, Information about Company's Reportable Segments (Details)",
     "menuCat": "Details",
     "order": "89",
     "role": "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
     "shortName": "Segment Information, Information about Company's Reportable Segments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20220101to20221231",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "ctrm:NumberOfContainershipsAcquired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U005",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20201231_DebtInstrumentAxis_ConvertibleDebenturesMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "040100 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)",
     "menuCat": "Statements",
     "order": "9",
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlowsParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Assets",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091702 - Disclosure - Segment Information, Reconciliation of Total Segment Assets to Total Assets (Details)",
     "menuCat": "Details",
     "order": "90",
     "role": "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails",
     "shortName": "Segment Information, Reconciliation of Total Segment Assets to Total Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231_ConsolidationItemsAxis_OperatingSegmentsMember_StatementBusinessSegmentsAxis_DryBulkSegmentMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:Assets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U002",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20221231_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityAlphaBankSA2021Member",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U002",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "091800 - Disclosure - Subsequent Events (Details)",
     "menuCat": "Details",
     "order": "91",
     "role": "http://castormaritime.com/role/SubsequentEventsDetails",
     "shortName": "Subsequent Events (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "brhc10049177_20f.htm",
      "contextRef": "c20230307_SubsequentEventTypeAxis_SubsequentEventMember",
      "decimals": "INF",
      "lang": null,
      "name": "ctrm:NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U001",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 168,
   "tag": {
    "ctrm_AboveMarketLeaseAmortizationYearOne": {
     "auth_ref": [],
     "crdr": "debit",
     "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 2023"
       }
      }
     },
     "localname": "AboveMarketLeaseAmortizationYearOne",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_AboveMarketLeaseAmortizationYearTwo": {
     "auth_ref": [],
     "crdr": "credit",
     "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 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).",
        "label": "Above Market Lease, Amortization, Year Two",
        "terseLabel": "Amortization to vessel revenues in 2024"
       }
      }
     },
     "localname": "AboveMarketLeaseAmortizationYearTwo",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_AccruedInterestRelatedPartiesCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "AccruedInterestRelatedPartiesCurrent",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_AdvancesForVesselAcquisitions": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Advance amount related to vessel acquisitions.",
        "label": "Advances for vessel acquisitions",
        "periodEndLabel": "Closing Balance",
        "periodStartLabel": "Opening Balance",
        "terseLabel": "Advances for vessel acquisition"
       }
      }
     },
     "localname": "AdvancesForVesselAcquisitions",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsAdvancesForVesselAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_AdvancesForVesselAcquisitionsAndOtherVesselPreDeliveryCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advances for vessel acquisitions and other vessel pre-delivery costs",
        "label": "Advances for vessel acquisitions and other vessel pre-delivery costs",
        "terseLabel": "Advances for vessel acquisitions and other vessel pre-delivery costs"
       }
      }
     },
     "localname": "AdvancesForVesselAcquisitionsAndOtherVesselPreDeliveryCosts",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsAdvancesForVesselAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_AdvancesTransferToVesselsNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of advances for vessel acquisitions and other vessel pre-delivery costs transfer to Vessels net during the period.",
        "label": "Advances Transfer to Vessels, Net",
        "negatedLabel": "Transfer to Vessels, net"
       }
      }
     },
     "localname": "AdvancesTransferToVesselsNet",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsAdvancesForVesselAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_AframaxLr2TankerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An Aframax, long range (LR2) tanker built in Korea with a deadweight between 55,000-79,999 metric tonnes.",
        "label": "Aframax LR2 Tanker [Member]",
        "terseLabel": "Aframax LR2 Tanker [Member]"
       }
      }
     },
     "localname": "AframaxLr2TankerMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_AframaxLr2TankerSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provides transportation services for crude oil.",
        "label": "Aframax/LR2 Tanker Segment [Member]",
        "terseLabel": "Aframax/LR2 Tanker Segment [Member]"
       }
      }
     },
     "localname": "AframaxLr2TankerSegmentMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_AframaxMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An oil tanker with a carrying capacity between 80,000 and 120,000 deadweight tonnage (DWT).",
        "label": "Aframax [Member]",
        "terseLabel": "Aframax [Member]"
       }
      }
     },
     "localname": "AframaxMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_AmendedCastorShipManagementAgreementsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "AmendedCastorShipManagementAgreementsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_AmortizationAndWriteOffOfConvertibleNotesBeneficialConversionFeature": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortization and write-off of beneficial conversion feature resulting from the recognition of convertible debt instruments as two separate components - a debt component and an equity component.",
        "label": "Amortization and Write-off of Convertible Notes Beneficial Conversion Feature",
        "terseLabel": "Amortization and write-off of convertible notes beneficial conversion feature",
        "verboseLabel": "Amortization and write-off of convertible notes beneficial conversion features"
       }
      }
     },
     "localname": "AmortizationAndWriteOffOfConvertibleNotesBeneficialConversionFeature",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_April7WarrantsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "April7WarrantsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ArianaAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 38,117 dwt.",
        "label": "Ariana A [Member]",
        "terseLabel": "M/V Ariana A [Member]"
       }
      }
     },
     "localname": "ArianaAMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_AsterixShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "AsterixShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_AtTheMarketProgramMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "AtTheMarketProgramMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_BagheeraShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "BagheeraShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_BallastWaterTreatmentSystemsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "BallastWaterTreatmentSystemsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_BasisOfPresentationAndOrganizationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and Organization [Abstract]",
        "terseLabel": "Basis of Presentation [Abstract]"
       }
      }
     },
     "localname": "BasisOfPresentationAndOrganizationAbstract",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_BistroMaritimeCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "BistroMaritimeCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_BridgeLoan75MillionMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "BridgeLoan75MillionMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_BrokerageCommissions": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 0.0,
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commissions paid to brokers for time-charter and voyage-charter arrangements.",
        "label": "Brokerage commissions",
        "verboseLabel": "Brokerage commissions"
       }
      }
     },
     "localname": "BrokerageCommissions",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_BrokerageCommissionsRelatedParty": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 1.0,
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "BrokerageCommissionsRelatedParty",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_BunkersConsumption": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 3.0,
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "BunkersConsumption",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_CapesizeVesselMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A large-sized dry bulk vessel.",
        "label": "Capesize Vessel [Member]",
        "terseLabel": "Capesize [Member]"
       }
      }
     },
     "localname": "CapesizeVesselMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_CapitalStockParOrStatedValuePerShare": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "CapitalStockParOrStatedValuePerShare",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ctrm_CapitalStockSharesAuthorized": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "CapitalStockSharesAuthorized",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_CapitalizedContractCostAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "CapitalizedContractCostAdditions",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_CapitalizedContractCostInsuranceClaimRecognized": {
     "auth_ref": [],
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "CapitalizedContractCostInsuranceClaimRecognized",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_CastorMaritimeScrCorpMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "CastorMaritimeScrCorpMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_CastorShipManagementAgreementsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "CastorShipManagementAgreementsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_CastorShipsSAMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "CastorShipsSAMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ChartererAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer A [Member]",
        "terseLabel": "Charterer A [Member]"
       }
      }
     },
     "localname": "ChartererAMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ChartererBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer B [Member]",
        "terseLabel": "Charterer B [Member]"
       }
      }
     },
     "localname": "ChartererBMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ChartererCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer C [Member]",
        "terseLabel": "Charterer C [Member]"
       }
      }
     },
     "localname": "ChartererCMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ChartererDMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer D [Member]",
        "terseLabel": "Charterer D [Member]"
       }
      }
     },
     "localname": "ChartererDMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ChartererEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer E [Member]"
       }
      }
     },
     "localname": "ChartererEMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ChartererFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer F [Member]"
       }
      }
     },
     "localname": "ChartererFMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_CharterersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customers with whom the entity does business.",
        "label": "Charterers [Member]"
       }
      }
     },
     "localname": "CharterersMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_CinderellaShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "CinderellaShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ClassAAndPrefundedWarrantMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ClassAAndPrefundedWarrantMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ClassAWarrantMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ClassAWarrantMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ClassOfWarrantOrRightExercised": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercised",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_ClassOfWarrantOrRightIssued": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightIssued",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_ColossusShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ColossusShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_CommonStockThatCanBeSoldValue": {
     "auth_ref": [],
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "CommonStockThatCanBeSoldValue",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_CommonStockVotingRightsNumberOfVotes": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "CommonStockVotingRightsNumberOfVotes",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureCommonSharesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_ConsolidatedSubsidiariesFormedToAcquireVesselsTableTextBlock": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "ConsolidatedSubsidiariesFormedToAcquireVesselsTableTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_ContaincoShippingIncMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ContaincoShippingIncMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ContainerShipSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provides transportation of containerized goods.",
        "label": "Container Ship Segment [Member]",
        "terseLabel": "Container Ship Segment [Member]"
       }
      }
     },
     "localname": "ContainerShipSegmentMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ContainershipAndDryBulkCarrierMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ContainershipAndDryBulkCarrierMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ConvertibleDebenturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three unsecured convertible debentures issued and sold to an institutional investor under a securities purchase agreement (collectively, the $5.0 Million Convertible Debentures).",
        "label": "Convertible Debentures [Member]",
        "terseLabel": "$5.0 Million Convertible Debentures [Member]"
       }
      }
     },
     "localname": "ConvertibleDebenturesMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlowsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_DebtInstrumentBorrowingCapacity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount of the debt instrument that is available for borrowing at time the agreement is executed and/or amended.",
        "label": "Debt Instrument, Borrowing Capacity",
        "terseLabel": "Borrowing capacity"
       }
      }
     },
     "localname": "DebtInstrumentBorrowingCapacity",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_DebtInstrumentNumberOfPaymentInstallments": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "DebtInstrumentNumberOfPaymentInstallments",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_DebtInstrumentNumberOfTranches": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "DebtInstrumentNumberOfTranches",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_DebtInstrumentRedemptionMonthlyPeriodOneMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionMonthlyPeriodOneMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_DebtInstrumentRedemptionMonthlyPeriodTwoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionMonthlyPeriodTwoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_DebtInstrumentTermOfExtension": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "DebtInstrumentTermOfExtension",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctrm_DebtInstrumentTrailingPeriodToMaintainEbitdaToNetInterestExpenseRatio": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "DebtInstrumentTrailingPeriodToMaintainEbitdaToNetInterestExpenseRatio",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctrm_DepreciationAndAmortizationOfDeferredDryDockingCosts": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "DepreciationAndAmortizationOfDeferredDryDockingCosts",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_DividendsAccumulatedDueOrOverdue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividends accumulated, due or overdue.",
        "label": "Dividends Accumulated, Due or Overdue",
        "terseLabel": "Accumulated, due or overdue dividends"
       }
      }
     },
     "localname": "DividendsAccumulatedDueOrOverdue",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_DraxShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "DraxShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_DryBulkCarrierMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A vessel designed to carry dry cargoes in bulk.",
        "label": "Dry Bulk Carrier [Member]",
        "terseLabel": "Dry Bulk Carriers [Member]",
        "verboseLabel": "Dry Bulk Vessels [Member]"
       }
      }
     },
     "localname": "DryBulkCarrierMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_DryBulkSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provides dry bulk commodities transportation services.",
        "label": "Dry Bulk Segment [Member]",
        "terseLabel": "Dry Bulk Segment [Member]"
       }
      }
     },
     "localname": "DryBulkSegmentMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_DryDockingReserveAccounts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of the dry-docking reserve account required to be maintained by the borrower under the loan agreement.",
        "label": "Dry-docking Reserve Accounts",
        "terseLabel": "Dry-dock reserve accounts"
       }
      }
     },
     "localname": "DryDockingReserveAccounts",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_DueFromRelatedPartiesCurrentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing receivables to be collected 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, at the financial statement date. which are usually due within one year (or one business cycle).",
        "label": "Due from Related Parties, Current [Member]",
        "terseLabel": "Due from Related Parties, Current [Member]"
       }
      }
     },
     "localname": "DueFromRelatedPartiesCurrentMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ElektraShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ElektraShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_EquityOfferingJuly2020Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "EquityOfferingJuly2020Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_EquityOfferingJune2020Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "EquityOfferingJune2020Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_FiniteLivedIntangibleAssetOffMarketLeaseFavorableNet": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetOffMarketLeaseFavorableNet",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_FirstRegisteredDirectEquityOffering2021Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "FirstRegisteredDirectEquityOffering2021Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_FundingPeriodForAdvanceToCoverVesselDailyOperatingCosts": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "FundingPeriodForAdvanceToCoverVesselDailyOperatingCosts",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctrm_GabrielaAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 38,121 dwt.",
        "label": "Gabriela A [Member]",
        "terseLabel": "M/V Gabriela A [Member]"
       }
      }
     },
     "localname": "GabrielaAMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_GainLossOnSaleOfPropertyMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "GainLossOnSaleOfPropertyMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_GamoraShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "GamoraShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_GarfieldShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "GarfieldShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_GeneralAndAdministrativeExpensesTableTextBlock": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpensesTableTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_GeneralAndAdministrativeExpensesTextBlock": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpensesTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpenses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_HandysizeTankerSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provides transportation services for oil products.",
        "label": "Handysize Tanker Segment [Member]",
        "terseLabel": "Handysize Tanker Segment [Member]"
       }
      }
     },
     "localname": "HandysizeTankerSegmentMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_HawkeyeShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "HawkeyeShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_IncreaseDecreaseInOtherDeferredCharges": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherDeferredCharges",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_InsuranceClaimsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "InsuranceClaimsPolicyPolicyTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_IntangibleAssetsLiabilitiesRelatedToTimeChartersAcquiredPolicyTextBlock": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "IntangibleAssetsLiabilitiesRelatedToTimeChartersAcquiredPolicyTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_January12WarrantsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "January12WarrantsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_January5WarrantsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "January5WarrantsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_JerryMaritimeLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in Malta.",
        "label": "Jerry Maritime Ltd [Member]",
        "terseLabel": "Jerry Maritime Ltd [Member]"
       }
      }
     },
     "localname": "JerryMaritimeLtdMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_JerryShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "JerryShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_JohnnyBravoShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "JohnnyBravoShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_JumaruShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "JumaruShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_KabamaruShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "KabamaruShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_KamsarmaxVesselMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "KamsarmaxVesselMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_LionoShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "LionoShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_LongTermDebtGrossCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_SecuredDebtCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "LongTermDebtGrossCurrent",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_LongTermDebtGrossNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_SecuredLongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "LongTermDebtGrossNoncurrent",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_LossGainOnBunkerFuel": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 4.0,
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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 on bunkers"
       }
      }
     },
     "localname": "LossGainOnBunkerFuel",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_LubricantExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating expense for lubricants.",
        "label": "Lubricant Expenses",
        "terseLabel": "Lubricants"
       }
      }
     },
     "localname": "LubricantExpenses",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_LuffyShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "LuffyShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MVMagicCallistoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 74,930 dwt.",
        "label": "M/V Magic Callisto [Member]"
       }
      }
     },
     "localname": "MVMagicCallistoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicArgoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 82,338 dwt.",
        "label": "Magic Argo [Member]",
        "verboseLabel": "M/V Magic Argo [Member]"
       }
      }
     },
     "localname": "MagicArgoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicCallistoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A Japanese-built Panamax dry bulk carrier.",
        "label": "Magic Callisto [Member]",
        "terseLabel": "M/V Magic Callisto [Member]"
       }
      }
     },
     "localname": "MagicCallistoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicEclipseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 74,940 dwt.",
        "label": "Magic Eclipse [Member]",
        "verboseLabel": "M/V Magic Eclipse [Member]"
       }
      }
     },
     "localname": "MagicEclipseMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicHorizonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,619 dwt.",
        "label": "Magic Horizon [Member]",
        "terseLabel": "M/V Magic Horizon [Member]"
       }
      }
     },
     "localname": "MagicHorizonMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicMarsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,822 dwt.",
        "label": "Magic Mars [Member]",
        "verboseLabel": "M/V Magic Mars [Member]"
       }
      }
     },
     "localname": "MagicMarsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicMoonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,602 dwt.",
        "label": "Magic Moon [Member]",
        "terseLabel": "M/V Magic Moon [Member]"
       }
      }
     },
     "localname": "MagicMoonMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicNebulaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 80,281 dwt.",
        "label": "Magic Nebula [Member]",
        "verboseLabel": "M/V Magic Nebula [Member]"
       }
      }
     },
     "localname": "MagicNebulaMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicNovaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 78,833 dwt.",
        "label": "Magic Nova [Member]",
        "terseLabel": "M/V Magic Nova [Member]"
       }
      }
     },
     "localname": "MagicNovaMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicOrionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 180,200 dwt.",
        "label": "Magic Orion [Member]",
        "verboseLabel": "M/V Magic Orion [Member]"
       }
      }
     },
     "localname": "MagicOrionMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicPMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "MagicPMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicPerseusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 82,158 dwt.",
        "label": "Magic Perseus [Member]",
        "verboseLabel": "M/V Magic Perseus [Member]"
       }
      }
     },
     "localname": "MagicPerseusMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicPhoenixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,636 dwt.",
        "label": "Magic Phoenix [Member]",
        "verboseLabel": "M/V Magic Phoenix [Member]"
       }
      }
     },
     "localname": "MagicPhoenixMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicPlutoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 74,940 dwt.",
        "label": "Magic Pluto [Member]",
        "verboseLabel": "M/V Magic Pluto [Member]"
       }
      }
     },
     "localname": "MagicPlutoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicRainbowMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 73,593 dwt.",
        "label": "Magic Rainbow [Member]",
        "terseLabel": "M/V Magic Rainbow [Member]"
       }
      }
     },
     "localname": "MagicRainbowMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicStarlightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 81,048 dwt.",
        "label": "Magic Starlight [Member]",
        "verboseLabel": "M/V Magic Starlight [Member]"
       }
      }
     },
     "localname": "MagicStarlightMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicSunMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 75,311 dwt.",
        "label": "Magic Sun [Member]",
        "terseLabel": "M/V Magic Sun [Member]"
       }
      }
     },
     "localname": "MagicSunMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicThunderMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 83,375 dwt.",
        "label": "Magic Thunder [Member]",
        "verboseLabel": "M/V Magic Thunder [Member]"
       }
      }
     },
     "localname": "MagicThunderMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicTwilightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 80,283 dwt.",
        "label": "Magic Twilight [Member]",
        "verboseLabel": "M/V Magic Twilight [Member]"
       }
      }
     },
     "localname": "MagicTwilightMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicVelaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 75,003 dwt.",
        "label": "Magic Vela [Member]",
        "verboseLabel": "M/V Magic Vela [Member]"
       }
      }
     },
     "localname": "MagicVelaMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MagicVenusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 83,416 dwt.",
        "label": "Magic Venus [Member]",
        "verboseLabel": "M/V Magic Venus [Member]"
       }
      }
     },
     "localname": "MagicVenusMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MickeyShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "MickeyShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MinimumAgeOfVesselsParticipatingInTankerPool": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum age of vessels participating in an Aframax tanker pool, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Minimum Age of Vessels Participating in Tanker Pool",
        "terseLabel": "Minimum age of vessels participating in pool operating Aframax tankers"
       }
      }
     },
     "localname": "MinimumAgeOfVesselsParticipatingInTankerPool",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesEntryIntoPoolAgreementWithV8PoolIncDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctrm_MinimumLiquidityDeposits": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of non-legally restricted cash required as a minimum liquidity requirement under the debt instruments.",
        "label": "Minimum Liquidity Deposits",
        "terseLabel": "Minimum liquidity deposits"
       }
      }
     },
     "localname": "MinimumLiquidityDeposits",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_Mr1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A tanker is a ship designed to transport or store liquids or gases in bulk.",
        "label": "MR1 [Member]",
        "terseLabel": "Handysize [Member]"
       }
      }
     },
     "localname": "Mr1Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_MulanShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "MulanShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_NonVesselOwningSubsidiariesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries not owning vessels.",
        "label": "Non-Vessel Owning Subsidiaries [Table Text Block]",
        "terseLabel": "Non-Vessel Owning Subsidiaries"
       }
      }
     },
     "localname": "NonVesselOwningSubsidiariesTableTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_NumberOfAgreementsEnteredIntoWithRelatedParty": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfAgreementsEnteredIntoWithRelatedParty",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfContainershipsAcquired": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of containerships acquired during period.",
        "label": "Number of Containerships Acquired",
        "terseLabel": "Number of containerships acquired"
       }
      }
     },
     "localname": "NumberOfContainershipsAcquired",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfEntitiesBeneficiallyOwnedByRelatedParty": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfEntitiesBeneficiallyOwnedByRelatedParty",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfImpairedVessels": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of impaired vessels.",
        "label": "Number of Impaired Vessels",
        "terseLabel": "Number of impaired vessels"
       }
      }
     },
     "localname": "NumberOfImpairedVessels",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsImpairmentOfLonglivedAssetsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfSecuritiesIncludedInUnitOffered": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "NumberOfSecuritiesIncludedInUnitOffered",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_NumberOfSharesOfCommonStockIssuedUponCompletionOfSpinOff": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "NumberOfSharesOfCommonStockIssuedUponCompletionOfSpinOff",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfSubsidiariesProvidingSecurityForTermLoanFacility": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfSubsidiariesProvidingSecurityForTermLoanFacility",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfThirdPartyShipManagementCompanies": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of third-party ship management companies that provide technical management of all the Company's tanker vessels.",
        "label": "Number of Third-Party Ship Management Companies",
        "terseLabel": "Number of third-party ship management companies"
       }
      }
     },
     "localname": "NumberOfThirdPartyShipManagementCompanies",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfVessels": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels in the Company's fleet.",
        "label": "Number of vessels",
        "terseLabel": "Number of vessels"
       }
      }
     },
     "localname": "NumberOfVessels",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfVesselsAcquired": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfVesselsAcquired",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfVesselsCompletingScheduledDrydockingRepairs": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfVesselsCompletingScheduledDrydockingRepairs",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfVesselsMortgagedAsCollateral": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfVesselsMortgagedAsCollateral",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfVesselsToBeAcquired": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels to be acquired by the entity.",
        "label": "Number of vessels to be acquired",
        "terseLabel": "Number of vessels to be acquired"
       }
      }
     },
     "localname": "NumberOfVesselsToBeAcquired",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfVesselsUnderTechnicalManagement": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfVesselsUnderTechnicalManagement",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_NumberOfWhollyOwnedSubsidiariesEnteringIntoAgreementsWithRelatedParty": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "NumberOfWhollyOwnedSubsidiariesEnteringIntoAgreementsWithRelatedParty",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_OfferingCostsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy related to offering costs.",
        "label": "Offering Costs [Policy Text Block]",
        "terseLabel": "Offering Costs"
       }
      }
     },
     "localname": "OfferingCostsPolicyTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_OperatingExpensesPaymentsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "OperatingExpensesPaymentsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_OrganizationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Organization [Line Items]"
       }
      }
     },
     "localname": "OrganizationLineItems",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_OrganizationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information on the organization.",
        "label": "Organization [Table]"
       }
      }
     },
     "localname": "OrganizationTable",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_PanamaxVesselMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "PanamaxVesselMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ParValueOfSharesIssuedMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ParValueOfSharesIssuedMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_PavimarSAMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "PavimarSAMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_PaymentsOfAdvancesForVesselAcquisitions": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "PaymentsOfAdvancesForVesselAcquisitions",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_PercentageIncreaseDecreaseInFairValueOfWarrants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage increase (decrease) in the fair value of warrants due to an increase (decrease) in the volatility applied to the valuation of warrants.",
        "label": "Percentage Increase (Decrease) in Fair Value of Warrants",
        "terseLabel": "Percentage increase in fair value of warrants due to increase in volatility"
       }
      }
     },
     "localname": "PercentageIncreaseDecreaseInFairValueOfWarrants",
     "nsuri": "http://castormaritime.com/20221231",
     "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"
     ],
     "xbrltype": "percentItemType"
    },
    "ctrm_PercentageIncreaseDecreaseInVolatility": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage increase (decrease) in the volatility percentage applied to the valuation of warrants.",
        "label": "Percentage Increase (Decrease) in Volatility",
        "terseLabel": "Percentage increase in volatility causing increase in fair value of warrants"
       }
      }
     },
     "localname": "PercentageIncreaseDecreaseInVolatility",
     "nsuri": "http://castormaritime.com/20221231",
     "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"
     ],
     "xbrltype": "percentItemType"
    },
    "ctrm_PercentageOfSharesHeld": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "PercentageOfSharesHeld",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ctrm_PikachuShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "PikachuShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_PocahontasShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "PocahontasShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_PoolAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue generated from pool agreements.",
        "label": "Pool Agreements [Member]",
        "terseLabel": "Pool [Member]"
       }
      }
     },
     "localname": "PoolAgreementsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_PortAndOtherExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 2.0,
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "PortAndOtherExpenses",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_PreferredStockStatedValuePerShare": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "PreferredStockStatedValuePerShare",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ctrm_PreferredStockVotingPowerInNumberOfCommonShares": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "PreferredStockVotingPowerInNumberOfCommonShares",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_PreferredStockVotingRightsNumberOfVotes": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "PreferredStockVotingRightsNumberOfVotes",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_PrefundedWarrantMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "PrefundedWarrantMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_PrivatePlacementWarrantsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "PrivatePlacementWarrantsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_PropertyPlantAndEquipmentNetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing property, plant and equipment, net.",
        "label": "Property, Plant and Equipment, Net [Member]",
        "terseLabel": "Vessels, Net [Member]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNetMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_PropertyPlantAndEquipmentNetVesselDisposal": {
     "auth_ref": [],
     "crdr": "credit",
     "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 disposal"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNetVesselDisposal",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_PropertyPlantAndEquipmentSalesPrice": {
     "auth_ref": [],
     "crdr": "credit",
     "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",
        "terseLabel": "Sale price"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentSalesPrice",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_PublicOfferingNumberOfUnits": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "PublicOfferingNumberOfUnits",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_PumbaShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "PumbaShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_RelatedPartyTransactionCommissionRate": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionCommissionRate",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ctrm_RelatedPartyTransactionCommissionRateOnEachVesselSaleAndPurchaseTransaction": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionCommissionRateOnEachVesselSaleAndPurchaseTransaction",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ctrm_RelatedPartyTransactionCommissions": {
     "auth_ref": [],
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionCommissions",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_RelatedPartyTransactionFixedDailyFee": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionFixedDailyFee",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "xbrltype": "perUnitItemType"
    },
    "ctrm_RelatedPartyTransactionManagementFees": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "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",
        "negatedLabel": "Management fees to related parties",
        "terseLabel": "Management fees"
       }
      }
     },
     "localname": "RelatedPartyTransactionManagementFees",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_RelatedPartyTransactionManagementRecoveryFeeMultiplier": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionManagementRecoveryFeeMultiplier",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "ctrm_RelatedPartyTransactionManagementTerminationFeeMultiplier": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionManagementTerminationFeeMultiplier",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "ctrm_RelatedPartyTransactionQuarterlyManagementFee": {
     "auth_ref": [],
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionQuarterlyManagementFee",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_RelatedPartyTransactionRenewalTermOfAgreement": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionRenewalTermOfAgreement",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctrm_RelatedPartyTransactionSaleAndPurchaseCommission": {
     "auth_ref": [],
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionSaleAndPurchaseCommission",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_RelatedPartyTransactionTermOfAgreement": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "RelatedPartyTransactionTermOfAgreement",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctrm_RelatedPartyTransactionWorkingCapitalGuaranteeDeposits": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of working capital guaranteed deposits paid to the related party.",
        "label": "Related Party Transaction, Working Capital Guarantee Deposits",
        "terseLabel": "Working capital guarantee deposits"
       }
      }
     },
     "localname": "RelatedPartyTransactionWorkingCapitalGuaranteeDeposits",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_RetentionDeposits": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of retention deposits restricted as to usage.",
        "label": "Retention Deposits",
        "terseLabel": "Retention deposits"
       }
      }
     },
     "localname": "RetentionDeposits",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_RevenueFromContractWithCustomerNumberOfPerformanceObligations": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of performance obligations when accounting for revenue from voyage charters under the provisions of ASC 606.",
        "label": "Revenue from Contract with Customer, Number of Performance Obligations",
        "terseLabel": "Number of performance obligations"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerNumberOfPerformanceObligations",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsRevenuesRelatedToVoyageCharterContractsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ctrm_ReverseStockSplitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reverse Stock Split [Abstract]",
        "terseLabel": "Reverse Stock Split [Abstract]"
       }
      }
     },
     "localname": "ReverseStockSplitAbstract",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_RocketShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "RocketShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ScheduleOfAdvancesForVesselsAcquisitionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in advances for acquisition of vessels.",
        "label": "Schedule of Advances for Vessels Acquisitions [Table Text Block]",
        "terseLabel": "Advances for Vessel Acquisitions"
       }
      }
     },
     "localname": "ScheduleOfAdvancesForVesselsAcquisitionsTableTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_ScheduleOfVesselAcquisitionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding vessel acquisitions delivered.",
        "label": "Schedule of Vessel Acquisitions [Table Text Block]",
        "terseLabel": "Vessel Acquisitions"
       }
      }
     },
     "localname": "ScheduleOfVesselAcquisitionsTableTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_SecondRegisteredDirectEquityOffering2021Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SecondRegisteredDirectEquityOffering2021Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityAlphaBankSA2019Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityAlphaBankSA2019Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityAlphaBankSA2021Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityAlphaBankSA2021Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTrancheOneMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTrancheOneMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTrancheTwoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTrancheTwoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTwoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTwoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalInternationalFinancialServicesCoLtdMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalInternationalFinancialServicesCoLtdMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityDeutscheBankAgMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityDeutscheBankAgMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJanuary2021Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJanuary2021Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJuly2021Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJuly2021Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SnoopyShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SnoopyShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SongokuShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SongokuShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SpetsesShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SpetsesShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_StarlordShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "StarlordShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_StewieShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "StewieShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_StockIssuanceCostsIncurredButNotYetPaid": {
     "auth_ref": [],
     "crdr": "credit",
     "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)"
       }
      }
     },
     "localname": "StockIssuanceCostsIncurredButNotYetPaid",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_StockIssuedDuringPeriodSharesExerciseOfWarrants": {
     "auth_ref": [],
     "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 8) (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesExerciseOfWarrants",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_StockIssuedDuringPeriodSharesNewIssuesAtTheMarketOffering": {
     "auth_ref": [],
     "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 8) (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssuesAtTheMarketOffering",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_StockIssuedDuringPeriodSharesNewIssuesRegisteredDirectOfferings": {
     "auth_ref": [],
     "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 8) (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssuesRegisteredDirectOfferings",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_StockIssuedDuringPeriodValueExerciseOfWarrants": {
     "auth_ref": [],
     "crdr": "credit",
     "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 8)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueExerciseOfWarrants",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_StockIssuedDuringPeriodValueNewIssuesAtTheMarketOffering": {
     "auth_ref": [],
     "crdr": "credit",
     "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 8)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssuesAtTheMarketOffering",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_StockIssuedDuringPeriodValueNewIssuesRegisteredDirectOfferings": {
     "auth_ref": [],
     "crdr": "credit",
     "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 8)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssuesRegisteredDirectOfferings",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_SubcontractedManagementAgreementsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SubcontractedManagementAgreementsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_SubsidiariesInConsolidationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsidiaries in Consolidation [Abstract]",
        "terseLabel": "Subsidiaries in Consolidation [Abstract]"
       }
      }
     },
     "localname": "SubsidiariesInConsolidationAbstract",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_SuperMarioShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "SuperMarioShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_TEUContainershipsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "TEUContainershipsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_TankerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A ship designed to transport or store liquids or gases in bulk.",
        "label": "Tanker [Member]",
        "terseLabel": "Tanker Vessels [Member]"
       }
      }
     },
     "localname": "TankerMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_TechnicalShipmanagementAgreementsMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "TechnicalShipmanagementAgreementsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_TermLoanFacilityMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "TermLoanFacilityMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ThalassaInvestmentCoSAMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ThalassaInvestmentCoSAMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ThirdPartyInWhichFamilyMemberOfPetrosPanagiotidisHadMinorityInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A third-party in which a family member of Petros Panagiotidis, the Company's Chairman, Chief Executive Officer and Chief Financial Officer, had a minority interest.",
        "label": "Third-party in which Family Member of Petros Panagiotidis had Minority Interest [Member]",
        "terseLabel": "Third-party in which Family Member of Petros Panagiotidis had Minority Interest [Member]"
       }
      }
     },
     "localname": "ThirdPartyInWhichFamilyMemberOfPetrosPanagiotidisHadMinorityInterestMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ThirdRegisteredDirectEquityOffering2021Member": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ThirdRegisteredDirectEquityOffering2021Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_TimeCharterMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "TimeCharterMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_TomMaritimeLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in Malta.",
        "label": "Tom Maritime Ltd [Member]",
        "terseLabel": "Tom Maritime Ltd [Member]"
       }
      }
     },
     "localname": "TomMaritimeLtdMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_TomShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "TomShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ToroCorpMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ToroCorpMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_ToroRBXCorpMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "ToroRBXCorpMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_UnitsIssuedDuringPeriodShares": {
     "auth_ref": [],
     "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)"
       }
      }
     },
     "localname": "UnitsIssuedDuringPeriodShares",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctrm_UnpaidAdvancesForVesselAcquisitions": {
     "auth_ref": [],
     "crdr": "credit",
     "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)"
       }
      }
     },
     "localname": "UnpaidAdvancesForVesselAcquisitions",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_UnpaidDeferredDryDockCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "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)"
       }
      }
     },
     "localname": "UnpaidDeferredDryDockCosts",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_UnpaidDeferredFinancingCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unpaid deferred financing costs.",
        "label": "Unpaid Deferred Financing Costs",
        "terseLabel": "Unpaid deferred financing costs"
       }
      }
     },
     "localname": "UnpaidDeferredFinancingCosts",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_VesselAcquisitions2021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessels acquired in 2021.",
        "label": "Vessel Acquisitions 2021 [Member]",
        "terseLabel": "2021 Vessel Acquisitions [Member]"
       }
      }
     },
     "localname": "VesselAcquisitions2021Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_VesselAcquisitions2022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessels acquired in 2022.",
        "label": "Vessel Acquisitions 2022 [Member]",
        "terseLabel": "2022 Vessel Acquisitions [Member]"
       }
      }
     },
     "localname": "VesselAcquisitions2022Member",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_VesselCountryOfConstruction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The country in which the vessel was constructed.",
        "label": "Vessel, Country of Construction",
        "terseLabel": "Country of construction"
       }
      }
     },
     "localname": "VesselCountryOfConstruction",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_VesselDeadWeightTonnage": {
     "auth_ref": [],
     "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",
        "terseLabel": "Combined carrying capacity",
        "verboseLabel": "DWT"
       }
      }
     },
     "localname": "VesselDeadWeightTonnage",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "massItemType"
    },
    "ctrm_VesselDeliveryDate": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "VesselDeliveryDate",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "ctrm_VesselDeliveryDateMonthAndYear": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "VesselDeliveryDateMonthAndYear",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "ctrm_VesselName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of vessel.",
        "label": "Vessel, Name",
        "terseLabel": "Vessel name"
       }
      }
     },
     "localname": "VesselName",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_VesselOperatingAndVoyageExpensesTextBlock": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "VesselOperatingAndVoyageExpensesTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpenses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_VesselOperatingExpensesAndVoyageExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessel Operating Expenses and Voyage Expenses [Abstract]"
       }
      }
     },
     "localname": "VesselOperatingExpensesAndVoyageExpensesAbstract",
     "nsuri": "http://castormaritime.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ctrm_VesselOperatingExpensesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of vessel operating expenses.",
        "label": "Vessel Operating Expenses [Table Text Block]",
        "terseLabel": "Vessel Operating Expenses"
       }
      }
     },
     "localname": "VesselOperatingExpensesTableTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_VesselOwningSubsidiariesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries owning vessels.",
        "label": "Vessel Owning Subsidiaries [Table Text Block]",
        "terseLabel": "Vessel Owning Subsidiaries"
       }
      }
     },
     "localname": "VesselOwningSubsidiariesTableTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_VesselRepairAndMaintenanceExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "VesselRepairAndMaintenanceExpenses",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_VesselType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of vessel classified on the basis of size.",
        "label": "Vessel, Type",
        "terseLabel": "Vessel type"
       }
      }
     },
     "localname": "VesselType",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_VesselYearBuilt": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The year in which the vessel was built.",
        "label": "Vessel, Year Built",
        "terseLabel": "Year built"
       }
      }
     },
     "localname": "VesselYearBuilt",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "ctrm_VesselsHeldForSalePolicyTextBlock": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "VesselsHeldForSalePolicyTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_VesselsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Watercraft used as a means of transportation on water.",
        "label": "Vessels [Member]",
        "terseLabel": "Vessels [Member]"
       }
      }
     },
     "localname": "VesselsMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_VesselsMortgagedAsCollateralMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "VesselsMortgagedAsCollateralMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_VisionShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "VisionShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_VoyageCharterMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "VoyageCharterMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_VoyageExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Voyage Expense [Abstract]",
        "terseLabel": "Voyage Expenses [Abstract]"
       }
      }
     },
     "localname": "VoyageExpenseAbstract",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctrm_VoyageExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      },
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "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 $29,769, $1,671,145 and $3,381,564 to related party for the years ended December 31, 2020, 2021 and 2022, respectively)",
        "negatedTerseLabel": "Voyage expenses (including charges from related party)",
        "totalLabel": "Total Voyage expenses"
       }
      }
     },
     "localname": "VoyageExpenses",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_VoyageExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing voyage expenses.",
        "label": "Voyage Expenses [Member]",
        "terseLabel": "Voyage Expenses [Member]"
       }
      }
     },
     "localname": "VoyageExpensesMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_VoyageExpensesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for voyage expenses.",
        "label": "Voyage Expenses [Policy Text Block]",
        "terseLabel": "Voyage Expenses"
       }
      }
     },
     "localname": "VoyageExpensesPolicyTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_VoyageExpensesRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs primarily relating to commissions to related party brokers that are unique to a particular charter.",
        "label": "Voyage Expenses, Related Party",
        "terseLabel": "Voyage expenses, related party"
       }
      }
     },
     "localname": "VoyageExpensesRelatedParty",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncomeParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctrm_VoyageExpensesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of voyage expenses.",
        "label": "Voyage Expenses [Table Text Block]",
        "terseLabel": "Voyage Expenses"
       }
      }
     },
     "localname": "VoyageExpensesTableTextBlock",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctrm_WonderArcturusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,149 dwt.",
        "label": "Wonder Arcturus [Member]",
        "verboseLabel": "M/T Wonder Arcturus [Member]"
       }
      }
     },
     "localname": "WonderArcturusMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WonderAviorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,162 dwt.",
        "label": "Wonder Avior [Member]",
        "verboseLabel": "M/T Wonder Avior [Member]"
       }
      }
     },
     "localname": "WonderAviorMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WonderBellatrixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,341 dwt.",
        "label": "Wonder Bellatrix [Member]",
        "verboseLabel": "M/T Wonder Bellatrix [Member]"
       }
      }
     },
     "localname": "WonderBellatrixMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WonderFormosaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 36,660 dwt.",
        "label": "Wonder Formosa [Member]",
        "verboseLabel": "M/T Wonder Formosa [Member]"
       }
      }
     },
     "localname": "WonderFormosaMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WonderMimosaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 36,718 dwt.",
        "label": "Wonder Mimosa [Member]",
        "verboseLabel": "M/T Wonder Mimosa [Member]"
       }
      }
     },
     "localname": "WonderMimosaMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WonderMusicaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,290 dwt.",
        "label": "Wonder Musica [Member]",
        "verboseLabel": "M/T Wonder Musica [Member]"
       }
      }
     },
     "localname": "WonderMusicaMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WonderPolarisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,351 dwt.",
        "label": "Wonder Polaris [Member]",
        "terseLabel": "M/T Wonder Polaris [Member]"
       }
      }
     },
     "localname": "WonderPolarisMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WonderSiriusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,341 dwt.",
        "label": "Wonder Sirius [Member]",
        "verboseLabel": "M/T Wonder Sirius [Member]"
       }
      }
     },
     "localname": "WonderSiriusMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WonderVegaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,062 dwt.",
        "label": "Wonder Vega [Member]",
        "verboseLabel": "M/T Wonder Vega [Member]"
       }
      }
     },
     "localname": "WonderVegaMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WorkingCapitalAdvancesMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "WorkingCapitalAdvancesMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_WorkingCapitalGuaranteeAdvancesMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "WorkingCapitalGuaranteeAdvancesMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctrm_XavierShippingCoMember": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "XavierShippingCoMember",
     "nsuri": "http://castormaritime.com/20221231",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r528",
      "r529",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r528",
      "r529",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r528",
      "r529",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r529",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelFaxNumber": {
     "auth_ref": [
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fax Number of contact personnel.",
        "label": "Contact Personnel Fax Number"
       }
      }
     },
     "localname": "ContactPersonnelFaxNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CountryRegion": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Region code of country",
        "label": "Country Region"
       }
      }
     },
     "localname": "CountryRegion",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAccountingStandard": {
     "auth_ref": [
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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'.",
        "label": "Document Accounting Standard"
       }
      }
     },
     "localname": "DocumentAccountingStandard",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "accountingStandardItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r528",
      "r529",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r524"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentShellCompanyReport": {
     "auth_ref": [
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true for a Shell Company Report pursuant to section 13 or 15(d) of the Exchange Act.",
        "label": "Document Shell Company Report"
       }
      }
     },
     "localname": "DocumentShellCompanyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCountry": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ISO 3166-1 alpha-2 country code.",
        "label": "Entity Address, Country"
       }
      }
     },
     "localname": "EntityAddressCountry",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "countryCodeItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r534"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Country of incorporation"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r532"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityListingsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Entity Listings [Line Items]"
       }
      }
     },
     "localname": "EntityListingsLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityListingsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container for exchange listing information for an entity",
        "label": "Entity Listings [Table]"
       }
      }
     },
     "localname": "EntityListingsTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r533"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r528",
      "r529",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_NoTradingSymbolFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a security having no trading symbol.",
        "label": "No Trading Symbol Flag"
       }
      }
     },
     "localname": "NoTradingSymbolFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "trueItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r527"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r199",
      "r408",
      "r409",
      "r410",
      "r411",
      "r450",
      "r491",
      "r567",
      "r570",
      "r571"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r199",
      "r408",
      "r409",
      "r410",
      "r411",
      "r450",
      "r491",
      "r567",
      "r570",
      "r571"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidationItemsAxis": {
     "auth_ref": [
      "r199",
      "r241",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r265",
      "r269",
      "r311",
      "r312",
      "r313",
      "r314",
      "r316",
      "r317",
      "r319",
      "r321",
      "r322",
      "r568",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]"
       }
      }
     },
     "localname": "ConsolidationItemsAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidationItemsDomain": {
     "auth_ref": [
      "r199",
      "r241",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r265",
      "r269",
      "r311",
      "r312",
      "r313",
      "r314",
      "r316",
      "r317",
      "r319",
      "r321",
      "r322",
      "r568",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]"
       }
      }
     },
     "localname": "ConsolidationItemsDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r274",
      "r515",
      "r576",
      "r594"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r307",
      "r308",
      "r309",
      "r310",
      "r388",
      "r455",
      "r477",
      "r492",
      "r493",
      "r512",
      "r520",
      "r523",
      "r572",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r274",
      "r515",
      "r576",
      "r594"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r271",
      "r457",
      "r513",
      "r522",
      "r564",
      "r565",
      "r576",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r271",
      "r457",
      "r513",
      "r522",
      "r564",
      "r565",
      "r576",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r307",
      "r308",
      "r309",
      "r310",
      "r386",
      "r388",
      "r389",
      "r390",
      "r391",
      "r454",
      "r455",
      "r477",
      "r492",
      "r493",
      "r512",
      "r520",
      "r523",
      "r563",
      "r572",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r307",
      "r308",
      "r309",
      "r310",
      "r386",
      "r388",
      "r389",
      "r390",
      "r391",
      "r454",
      "r455",
      "r477",
      "r492",
      "r493",
      "r512",
      "r520",
      "r523",
      "r563",
      "r572",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies and Recent Accounting Pronouncements [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r16",
      "r521"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Accounts Payable, Current",
        "verboseLabel": "Accounts payable"
       }
      }
     },
     "localname": "AccountsPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, after Allowance for Credit Loss [Abstract]",
        "terseLabel": "Accounts Receivable Trade, Net [Abstract]"
       }
      }
     },
     "localname": "AccountsReceivableNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsAccountsReceivableTradeNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r276",
      "r277"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Trade accounts receivable, net",
        "terseLabel": "Accounts receivable trade, net"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r17"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Accrued Liabilities, Current",
        "terseLabel": "Accrued liabilities"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r77",
      "r164"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedPeriodEndLabel": "Ending balance",
        "negatedPeriodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationSaleOfPropertyPlantAndEquipment1": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in accumulated depreciation, depletion and amortization as a result of sale or disposal of property, plant and equipment.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Sale or Disposal of Property, Plant and Equipment",
        "terseLabel": "Vessel disposal"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationSaleOfPropertyPlantAndEquipment1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r11",
      "r521"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r392",
      "r393",
      "r394",
      "r551",
      "r552",
      "r553",
      "r578"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-in Capital [Member]"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt": {
     "auth_ref": [
      "r85"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment to additional paid in capital resulting from the recognition of convertible debt instruments as two separate components - a debt component and an equity component. This bifurcation may result in a basis difference associated with the liability component that represents a temporary difference for purposes of applying accounting for income taxes. The initial recognition of deferred taxes for the tax effect of that temporary difference is as an adjustment to additional paid in capital.",
        "label": "Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt",
        "terseLabel": "Beneficial conversion feature pursuant to the issuance of the $5.0 Million Convertible Debentures (Note 7)"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net (loss)/income to net cash (used in)/provided by Operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AmortizationOfAboveAndBelowMarketLeases": {
     "auth_ref": [
      "r545"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of non-cash amortization of intangible asset (liability) for above and below market leases.",
        "label": "Amortization of above and below Market Leases",
        "terseLabel": "Amortization of fair value of acquired charters",
        "verboseLabel": "Amortization of fair value of acquired charter"
       }
      }
     },
     "localname": "AmortizationOfAboveAndBelowMarketLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r29",
      "r339",
      "r434",
      "r545"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs",
        "terseLabel": "Amortization and write-off of deferred finance charges",
        "verboseLabel": "Amortization and write-off of deferred finance charges"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r223"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "verboseLabel": "Antidilutive securities excluded from computation of diluted earnings per share (in shares)"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "auth_ref": [
      "r56"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of antidilutive security.",
        "label": "Antidilutive Securities [Axis]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "auth_ref": [
      "r56"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
        "label": "Antidilutive Securities, Name [Domain]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r124",
      "r139",
      "r166",
      "r196",
      "r249",
      "r261",
      "r267",
      "r283",
      "r311",
      "r312",
      "r314",
      "r315",
      "r316",
      "r318",
      "r320",
      "r322",
      "r323",
      "r408",
      "r410",
      "r419",
      "r521",
      "r568",
      "r569",
      "r584"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS",
        "verboseLabel": "Assets [Abstract]"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r158",
      "r173",
      "r196",
      "r283",
      "r311",
      "r312",
      "r314",
      "r315",
      "r316",
      "r318",
      "r320",
      "r322",
      "r323",
      "r408",
      "r410",
      "r419",
      "r521",
      "r568",
      "r569",
      "r584"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CURRENT ASSETS:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNoncurrent": {
     "auth_ref": [
      "r196",
      "r283",
      "r311",
      "r312",
      "r314",
      "r315",
      "r316",
      "r318",
      "r320",
      "r322",
      "r323",
      "r408",
      "r410",
      "r419",
      "r568",
      "r569",
      "r584"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer.",
        "label": "Assets, Noncurrent",
        "totalLabel": "Total non-current assets"
       }
      }
     },
     "localname": "AssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Noncurrent [Abstract]",
        "terseLabel": "NON-CURRENT ASSETS:"
       }
      }
     },
     "localname": "AssetsNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r105",
      "r106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BelowMarketLeaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Below Market Lease [Abstract]",
        "terseLabel": "Fair Value of Acquired Time Charters [Abstract]"
       }
      }
     },
     "localname": "BelowMarketLeaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BelowMarketLeaseNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of leases acquired as part of a real property acquisition at below market lease rate with a finite life.",
        "label": "Below Market Lease, Net",
        "terseLabel": "Intangible liability for below market time charter"
       }
      }
     },
     "localname": "BelowMarketLeaseNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalExpendituresIncurredButNotYetPaid": {
     "auth_ref": [
      "r51",
      "r52",
      "r53"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Future cash outflow to pay for purchases of fixed assets that have occurred.",
        "label": "Capital Expenditures Incurred but Not yet Paid",
        "terseLabel": "Unpaid vessel acquisition and other vessel improvement costs (included in Accounts payable and Accrued liabilities)"
       }
      }
     },
     "localname": "CapitalExpendituresIncurredButNotYetPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalizedContractCostAmortization": {
     "auth_ref": [
      "r290"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for asset recognized from cost incurred to obtain or fulfill contract with customer.",
        "label": "Capitalized Contract Cost, Amortization",
        "negatedLabel": "Amortization"
       }
      }
     },
     "localname": "CapitalizedContractCostAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalizedContractCostLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Capitalized Contract Cost [Line Items]"
       }
      }
     },
     "localname": "CapitalizedContractCostLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CapitalizedContractCostNetClassifiedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalized Contract Cost, Net, Classified [Abstract]",
        "terseLabel": "Deferred Charges, net [Abstract]"
       }
      }
     },
     "localname": "CapitalizedContractCostNetClassifiedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CapitalizedContractCostNetCurrent": {
     "auth_ref": [
      "r289"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Deferred charges, net",
        "terseLabel": "Deferred assets"
       }
      }
     },
     "localname": "CapitalizedContractCostNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalizedContractCostNetNoncurrent": {
     "auth_ref": [
      "r289"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Capitalized Contract Cost, Net, Noncurrent",
        "periodEndLabel": "Balance at end of period",
        "periodStartLabel": "Balance at beginning of period",
        "terseLabel": "Deferred charges, net"
       }
      }
     },
     "localname": "CapitalizedContractCostNetNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalizedContractCostTable": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about cost capitalized in obtaining or fulfilling contract with customer.",
        "label": "Capitalized Contract Cost [Table]"
       }
      }
     },
     "localname": "CapitalizedContractCostTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r49",
      "r161",
      "r496"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. 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.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "periodEndLabel": "Cash and cash equivalents",
        "verboseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r50"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r50",
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Restricted Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r44",
      "r49",
      "r54"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "Cash, cash equivalents and restricted cash at the end of the period",
        "periodStartLabel": "Cash, cash equivalents and restricted cash at the beginning of the period"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r44",
      "r113"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net increase in cash, cash equivalents, and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock Disclosures [Abstract]",
        "verboseLabel": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "ClassOfStockDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r167",
      "r168",
      "r169",
      "r196",
      "r216",
      "r217",
      "r220",
      "r222",
      "r231",
      "r232",
      "r283",
      "r311",
      "r314",
      "r315",
      "r316",
      "r322",
      "r323",
      "r344",
      "r345",
      "r348",
      "r352",
      "r359",
      "r419",
      "r494",
      "r535",
      "r547",
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://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/EquityCapitalStructureAtthemarketCommonStockOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRightAxis": {
     "auth_ref": [
      "r100",
      "r102"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of warrant or right issued.",
        "label": "Class of Warrant or Right [Axis]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRightDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Class of Warrant or Right [Domain]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding.",
        "label": "Warrant exercise price (in dollars per share)",
        "terseLabel": "Warrant exercise price per share (in dollars per share)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Number of securities called by each warrant (in shares)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares.",
        "label": "Number of securities called by warrants (in shares)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights outstanding.",
        "label": "Warrants outstanding (in shares)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r22",
      "r129",
      "r146"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Commitments and contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r82",
      "r305",
      "r306",
      "r486",
      "r566"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsAndContingenciesPolicyTextBlock": {
     "auth_ref": [
      "r83",
      "r487"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for commitments and contingencies, which may include policies for recognizing and measuring loss and gain contingencies.",
        "label": "Commitments and Contingencies, Policy [Policy Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r551",
      "r552",
      "r578"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "verboseLabel": "Common Shares [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Shares [Abstract]"
       }
      }
     },
     "localname": "CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureAtthemarketCommonStockOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureCommonSharesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common shares, par value (in dollars per share)",
        "terseLabel": "Common shares, par value (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "verboseLabel": "Common shares, authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common shares, shares issued (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r10",
      "r91"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common shares, shares outstanding (in shares)",
        "verboseLabel": "Number of outstanding common shares (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r10",
      "r521"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common shares, $0.001 par value; 1,950,000,000 shares authorized; 94,610,088 issued and outstanding as of December 31, 2021, and December 31, 2022"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r25",
      "r176",
      "r178",
      "r184",
      "r470",
      "r474"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Comprehensive (loss)/income",
        "verboseLabel": "Comprehensive (loss)/income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for comprehensive income.",
        "label": "Comprehensive Income, Policy [Policy Text Block]",
        "terseLabel": "Other Comprehensive Income"
       }
      }
     },
     "localname": "ComprehensiveIncomePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r60",
      "r61",
      "r110",
      "r111",
      "r274",
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r60",
      "r61",
      "r110",
      "r111",
      "r274",
      "r483",
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r60",
      "r61",
      "r110",
      "r111",
      "r274",
      "r485",
      "r595"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r60",
      "r61",
      "r110",
      "r111",
      "r274"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Concentration risk percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r58",
      "r60",
      "r61",
      "r62",
      "r110",
      "r112",
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r60",
      "r61",
      "r110",
      "r111",
      "r274",
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r103",
      "r500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Principles of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityCurrent": {
     "auth_ref": [
      "r362",
      "r363",
      "r382"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Deferred revenue"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityRevenueRecognized": {
     "auth_ref": [
      "r383"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due.",
        "label": "Contract with Customer, Liability, Revenue Recognized",
        "negatedLabel": "Deferred revenue amortization"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityRevenueRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualObligationDueInNextTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contractual obligation to be paid 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": "Contractual purchase obligations due in 2023"
       }
      }
     },
     "localname": "ContractualObligationDueInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualObligationDueInSecondYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contractual obligation to be paid 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).",
        "label": "Contractual Obligation, to be Paid, Year Two",
        "terseLabel": "Contractual purchase obligations due in 2024"
       }
      }
     },
     "localname": "ContractualObligationDueInSecondYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CorporateNonSegmentMember": {
     "auth_ref": [
      "r71",
      "r260",
      "r261",
      "r262",
      "r263",
      "r269",
      "r558"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Corporate [Member]"
       }
      }
     },
     "localname": "CorporateNonSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostsAndExpenses": {
     "auth_ref": [
      "r30"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total costs of sales and operating expenses for the period.",
        "label": "Costs and Expenses",
        "negatedTotalLabel": "Total expenses"
       }
      }
     },
     "localname": "CostsAndExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostsAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Costs and Expenses [Abstract]",
        "terseLabel": "EXPENSES:"
       }
      }
     },
     "localname": "CostsAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncomeParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "auth_ref": [
      "r59",
      "r274"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Customer Concentration [Member]"
       }
      }
     },
     "localname": "CustomerConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtConversionConvertedInstrumentAmount1": {
     "auth_ref": [
      "r51",
      "r53"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of the financial instrument(s) that the original debt is being converted into in a noncash (or part noncash) transaction. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Debt Conversion, Converted Instrument, Amount",
        "terseLabel": "Shares issued in connection with the settlement of the $5.0 Million Convertible Debentures"
       }
      }
     },
     "localname": "DebtConversionConvertedInstrumentAmount1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r4",
      "r5",
      "r6",
      "r125",
      "r126",
      "r137",
      "r199",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r339",
      "r435",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r548"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlowsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityParenthetical",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Margin on variable rate"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r6",
      "r126",
      "r137",
      "r341"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-Term Debt, Gross",
        "terseLabel": "Long-term debt",
        "totalLabel": "Total long-term debt"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r116",
      "r118",
      "r324",
      "r435",
      "r508",
      "r509"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Face amount",
        "terseLabel": "Face amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlowsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityParenthetical",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFrequencyOfPeriodicPayment": {
     "auth_ref": [
      "r21",
      "r134"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the frequency of periodic payments (monthly, quarterly, annual).",
        "label": "Frequency of periodic payment",
        "terseLabel": "Frequency of periodic payment"
       }
      }
     },
     "localname": "DebtInstrumentFrequencyOfPeriodicPayment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r20",
      "r325"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentIssuer": {
     "auth_ref": [
      "r6",
      "r92"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the contractual issuer of the debt instrument (for example, a subsidiary of the reporting entity).",
        "label": "Debt Instrument, Issuer",
        "terseLabel": "Borrowers"
       }
      }
     },
     "localname": "DebtInstrumentIssuer",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "auth_ref": [
      "r174",
      "r507",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format.",
        "label": "Debt Instrument, Maturity Date",
        "terseLabel": "Maturity date"
       }
      }
     },
     "localname": "DebtInstrumentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r21",
      "r199",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r339",
      "r435",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r548"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlowsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityParenthetical",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPayment": {
     "auth_ref": [
      "r21",
      "r134"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the required periodic payments including both interest and principal payments.",
        "label": "Debt Instrument, Periodic Payment",
        "terseLabel": "Installment payment"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPayment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payment greater than the preceding installment payments to be paid at final maturity date of debt.",
        "label": "Balloon installment payable at maturity"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentRedemptionPeriodAxis": {
     "auth_ref": [
      "r135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information about timing of debt redemption features under terms of the debt agreement.",
        "label": "Debt Instrument, Redemption, Period [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionPeriodAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentRedemptionPeriodDomain": {
     "auth_ref": [
      "r135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period as defined under terms of the debt agreement for debt redemption features.",
        "label": "Debt Instrument, Redemption, Period [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionPeriodDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionPeriodOneMember": {
     "auth_ref": [
      "r135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period one representing most current period of debt redemption features under terms of the debt agreement.",
        "label": "Installments 1 to 4 [Member]",
        "terseLabel": "Installments 1 to 9 [Member]",
        "verboseLabel": "Installments 1 to 6 [Member]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionPeriodOneMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionPeriodThreeMember": {
     "auth_ref": [
      "r135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period three representing third most current period of debt redemption features under terms of the debt agreement.",
        "label": "Installments 13 to 20 [Member]",
        "terseLabel": "Installments 13 to 59 [Member]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionPeriodThreeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionPeriodTwoMember": {
     "auth_ref": [
      "r135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period two representing second most current period of debt redemption features under terms of the debt agreement.",
        "label": "Installments 5 to 16 [Member]",
        "terseLabel": "Installments 10 to 12 [Member]",
        "verboseLabel": "Installments 7 to 12 [Member]"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionPeriodTwoMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r21",
      "r92",
      "r95",
      "r96",
      "r97",
      "r115",
      "r116",
      "r118",
      "r136",
      "r199",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r339",
      "r340",
      "r435",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r548"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Term",
        "terseLabel": "Term of loan"
       }
      }
     },
     "localname": "DebtInstrumentTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DebtInstrumentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instruments [Abstract]",
        "terseLabel": "Long-Term Debt [Abstract]",
        "verboseLabel": "Loan Facilities [Abstract]"
       }
      }
     },
     "localname": "DebtInstrumentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt180MillionTermLoanFacilityDetails",
      "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"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredChargesPolicyTextBlock": {
     "auth_ref": [
      "r165"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for deferral and amortization of significant deferred charges.",
        "label": "Deferred Charges, Policy [Policy Text Block]",
        "terseLabel": "Dry-Docking and Special Survey Costs"
       }
      }
     },
     "localname": "DeferredChargesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Charges, net [Abstract]"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Table Text Block]",
        "terseLabel": "Deferred Dry-Docking Costs, net"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredFinanceCostsCurrentNet": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_SecuredDebtCurrent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Issuance Costs, Current, Net",
        "negatedLabel": "Less: Current portion of deferred finance costs"
       }
      }
     },
     "localname": "DeferredFinanceCostsCurrentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r117",
      "r573"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Debt Issuance Costs, Net",
        "negatedTotalLabel": "Less: Deferred financing costs"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFinanceCostsNoncurrentNet": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_SecuredLongTermDebt",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Issuance Costs, Noncurrent, Net",
        "negatedLabel": "Less: Non-Current portion of deferred finance costs"
       }
      }
     },
     "localname": "DeferredFinanceCostsNoncurrentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r47",
      "r75"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "negatedTerseLabel": "Period depreciation"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation [Abstract]",
        "terseLabel": "Vessels' Depreciation [Abstract]"
       }
      }
     },
     "localname": "DepreciationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsVesselsDepreciationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "auth_ref": [
      "r47",
      "r244"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
        "label": "Depreciation, Depletion and Amortization",
        "negatedLabel": "Depreciation and amortization"
       }
      }
     },
     "localname": "DepreciationDepletionAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationDepletionAndAmortizationPolicyTextBlock": {
     "auth_ref": [
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Depreciation, Depletion, and Amortization [Policy Text Block]",
        "terseLabel": "Vessels' Depreciation"
       }
      }
     },
     "localname": "DepreciationDepletionAndAmortizationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisaggregationOfRevenueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Abstract]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Disaggregation of Revenue [Line Items]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "auth_ref": [
      "r381",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Disaggregation of Revenue [Table]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "auth_ref": [
      "r576"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "terseLabel": "Vessel Revenues"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r170",
      "r313",
      "r314",
      "r315",
      "r321",
      "r322",
      "r323",
      "r447",
      "r498",
      "r550"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of receivables to be collected 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, at the financial statement date. which are usually due within one year (or one business cycle).",
        "label": "Due from Related Parties, Current",
        "terseLabel": "Due from related parties",
        "verboseLabel": "Due from related party - current"
       }
      }
     },
     "localname": "DueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesNoncurrent": {
     "auth_ref": [
      "r162",
      "r313",
      "r314",
      "r315",
      "r321",
      "r322",
      "r323",
      "r447",
      "r550"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of receivables to be collected 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, at the financial statement date, which are usually due after one year (or one business cycle).",
        "label": "Due from related party - non-current",
        "verboseLabel": "Due from related parties"
       }
      }
     },
     "localname": "DueFromRelatedPartiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r16",
      "r313",
      "r314",
      "r315",
      "r321",
      "r322",
      "r323",
      "r447",
      "r550"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to related party - current",
        "terseLabel": "Due to related party - current",
        "verboseLabel": "Due to related parties"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "(Loss)/Earnings Per Common Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r185",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r213",
      "r216",
      "r220",
      "r221",
      "r222",
      "r226",
      "r414",
      "r415",
      "r471",
      "r475",
      "r504"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "(Loss)/Earnings per common share, basic (in dollars per share)",
        "verboseLabel": "(Loss)/Earnings per common share, basic (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r185",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r216",
      "r220",
      "r221",
      "r222",
      "r226",
      "r414",
      "r415",
      "r471",
      "r475",
      "r504"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "(Loss)/Earnings per common share, diluted (in dollars per share)",
        "terseLabel": "(Loss)/Earnings per common share, diluted (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDilutedOtherDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share, Diluted, Other Disclosure [Abstract]",
        "terseLabel": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareDilutedOtherDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r56",
      "r57"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Earnings/ (Losses) per Common Share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r227"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "(Loss)/Earnings Per Common Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Capital Structure [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r91",
      "r155",
      "r179",
      "r180",
      "r181",
      "r200",
      "r201",
      "r202",
      "r204",
      "r210",
      "r212",
      "r230",
      "r284",
      "r361",
      "r392",
      "r393",
      "r394",
      "r399",
      "r400",
      "r413",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r443",
      "r478",
      "r479",
      "r480"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGain": {
     "auth_ref": [
      "r559"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 6.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Gain on sale of equity securities",
        "negatedLabel": "Gain on sale of equity securities",
        "terseLabel": "Profit from equity securities"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiRealizedGain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments and Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r418"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "verboseLabel": "Financial Instruments and Fair Value Disclosures"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/FinancialInstrumentsAndFairValueDisclosures"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r108",
      "r109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "terseLabel": "Accounting for Financial Instruments"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ForeignCurrencyExchangeRateTranslation1": {
     "auth_ref": [
      "r430",
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign exchange rate used to translate amounts denominated in functional currency to reporting currency.",
        "label": "Exchange rate"
       }
      }
     },
     "localname": "ForeignCurrencyExchangeRateTranslation1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossBeforeTax": {
     "auth_ref": [
      "r420",
      "r421",
      "r422",
      "r423"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement.",
        "label": "Foreign Currency Transaction Gain (Loss), before Tax",
        "terseLabel": "Foreign exchange (losses)/gains"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Foreign Currency Translation"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GainLossOnDispositionOfAssets": {
     "auth_ref": [
      "r545",
      "r561",
      "r562"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 6.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": -1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, excluding oil and gas property and timber property.",
        "label": "Gain on sale of vessel",
        "negatedLabel": "Gain on sale of vessel",
        "terseLabel": "Gain on sale of vessel"
       }
      }
     },
     "localname": "GainLossOnDispositionOfAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r32"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 5.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "negatedLabel": "General and administrative expenses (including $400,000, $1,200,000, and $2,100,000 to related party for the years ended December 31, 2020, 2021 and 2022, respectively)",
        "negatedTerseLabel": "Unallocated general and administrative expenses",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "General and Administrative Expenses [Abstract]"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing general and administrative expense.",
        "label": "General and Administrative Expenses [Member]"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GeneralInsuranceExpense": {
     "auth_ref": [
      "r32"
     ],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "General Insurance Expense",
        "terseLabel": "Insurances"
       }
      }
     },
     "localname": "GeneralInsuranceExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "auth_ref": [
      "r74",
      "r80"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "terseLabel": "Impairment of Long-Lived Assets"
       }
      }
     },
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeAndExpensesLessorAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income and Expenses, Lessor [Abstract]",
        "terseLabel": "Commitments Under Long-Term Lease Contracts [Abstract]"
       }
      }
     },
     "localname": "IncomeAndExpensesLessorAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r26",
      "r121",
      "r130",
      "r148",
      "r249",
      "r260",
      "r266",
      "r269",
      "r472",
      "r505"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "Net (loss)/income, before taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS)/INCOME [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r300",
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r197",
      "r396",
      "r397",
      "r398",
      "r401",
      "r403",
      "r405",
      "r406",
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/IncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r198",
      "r211",
      "r212",
      "r247",
      "r395",
      "r402",
      "r404",
      "r476"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "US source income taxes",
        "negatedLabel": "Income taxes"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayable": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Increase (Decrease) in Accounts Payable",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Decrease in trade accounts receivable",
        "negatedLabel": "Accounts receivable trade, net"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilities": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of expenses incurred but not yet paid.",
        "label": "Increase (Decrease) in Accrued Liabilities",
        "terseLabel": "Accrued liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredCharges": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Increase (Decrease) in Deferred Charges",
        "negatedLabel": "Dry-dock costs paid"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredCharges",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredRevenue": {
     "auth_ref": [
      "r499"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Increase (Decrease) in Deferred Revenue",
        "terseLabel": "Deferred revenue"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueFromRelatedParties": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Increase (Decrease) in Due from Related Parties",
        "negatedLabel": "Due from/to related parties"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Increase (Decrease) in Inventories",
        "negatedLabel": "Inventories"
       }
      }
     },
     "localname": "IncreaseDecreaseInInventories",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "negatedLabel": "Prepaid expenses and other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Shareholders' Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDebtExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Finance Costs [Abstract]"
       }
      }
     },
     "localname": "InterestAndDebtExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r117",
      "r133",
      "r182",
      "r243",
      "r433"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 7.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": -1.0
      },
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "negatedLabel": "Interest and finance costs (including $305,000, $204,167 and $0 to related party for the years ended December 31, 2020, 2021 and 2022, respectively)",
        "negatedTerseLabel": "Interest and finance costs",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebt": {
     "auth_ref": [
      "r36",
      "r337",
      "r343",
      "r510",
      "r511"
     ],
     "calculation": {
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
        "label": "Interest Expense, Debt",
        "terseLabel": "Interest on long-term debt"
       }
      }
     },
     "localname": "InterestExpenseDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseLongTermDebt": {
     "auth_ref": [
      "r132",
      "r494",
      "r495"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest paid or due on all long-term debt.",
        "label": "Interest incurred on long-term debt"
       }
      }
     },
     "localname": "InterestExpenseLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseMember": {
     "auth_ref": [
      "r107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing interest expense.",
        "label": "Interest Expense [Member]",
        "terseLabel": "Interest and Finance Costs [Member]"
       }
      }
     },
     "localname": "InterestExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestExpenseOther": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest expense classified as other.",
        "label": "Other finance charges"
       }
      }
     },
     "localname": "InterestExpenseOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpensePolicyTextBlock": {
     "auth_ref": [
      "r114"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing interest expense, including the method of amortizing debt issuance costs.",
        "label": "Financing Costs"
       }
      }
     },
     "localname": "InterestExpensePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InterestExpenseRelatedParty": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest expense incurred on a debt or other obligation to related party.",
        "label": "Interest and finance costs, related party",
        "terseLabel": "Interest expense",
        "verboseLabel": "Interest on long-term debt - related party (Note 3 (c))"
       }
      }
     },
     "localname": "InterestExpenseRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncomeParenthetical",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r189",
      "r192",
      "r193"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Cash paid for interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryNet": {
     "auth_ref": [
      "r172",
      "r497",
      "r521"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Net",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "auth_ref": [
      "r160",
      "r171",
      "r228",
      "r286",
      "r287",
      "r288",
      "r456",
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentIncomeDividend": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 5.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend income on nonoperating securities.",
        "label": "Dividend on equity securities",
        "terseLabel": "Dividend on equity securities"
       }
      }
     },
     "localname": "InvestmentIncomeDividend",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeInterest": {
     "auth_ref": [
      "r34",
      "r242"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities.",
        "label": "Interest income"
       }
      }
     },
     "localname": "InvestmentIncomeInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r282",
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment in equity securities"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r543"
     ],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
        "label": "Crew &amp; crew related costs"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorLeasesPolicyTextBlock": {
     "auth_ref": [
      "r437",
      "r439",
      "r440",
      "r441"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for leasing arrangements entered into by lessor.",
        "label": "Lessor, Leases [Policy Text Block]",
        "terseLabel": "Revenues Related to Time Charter and Pool Contracts"
       }
      }
     },
     "localname": "LessorLeasesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceived": {
     "auth_ref": [
      "r438"
     ],
     "calculation": {
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor for operating lease.",
        "label": "Lessor, Operating Lease, Payments to be Received",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceived",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock": {
     "auth_ref": [
      "r582"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity of undiscounted cash flows to be received by lessor on annual basis for operating lease.",
        "label": "Lessor, Operating Lease, Payment to be Received, Fiscal Year Maturity [Table Text Block]",
        "terseLabel": "Future Minimum Contracted Lease Payments"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths": {
     "auth_ref": [
      "r438"
     ],
     "calculation": {
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "2023"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears": {
     "auth_ref": [
      "r438"
     ],
     "calculation": {
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease payment to be received by lessor for operating lease 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).",
        "label": "2024"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r15",
      "r128",
      "r144",
      "r521",
      "r549",
      "r560",
      "r581"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and shareholders' equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "LIABILITIES AND SHAREHOLDERS' EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r19",
      "r159",
      "r196",
      "r283",
      "r311",
      "r312",
      "r314",
      "r315",
      "r316",
      "r318",
      "r320",
      "r322",
      "r323",
      "r409",
      "r410",
      "r411",
      "r419",
      "r521",
      "r568",
      "r584",
      "r585"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "CURRENT LIABILITIES:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "auth_ref": [
      "r1",
      "r2",
      "r3",
      "r6",
      "r7",
      "r196",
      "r283",
      "r311",
      "r312",
      "r314",
      "r315",
      "r316",
      "r318",
      "r320",
      "r322",
      "r323",
      "r409",
      "r410",
      "r411",
      "r419",
      "r568",
      "r584",
      "r585"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer.",
        "label": "Liabilities, Noncurrent",
        "totalLabel": "Total non-current liabilities"
       }
      }
     },
     "localname": "LiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NON-CURRENT LIABILITIES:"
       }
      }
     },
     "localname": "LiabilitiesNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r6",
      "r126",
      "r141",
      "r331",
      "r342",
      "r508",
      "r509"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Long-Term Debt",
        "totalLabel": "Total long-term debt, net of deferred finance costs"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, by Current and Noncurrent [Abstract]",
        "terseLabel": "Presented [Abstract]"
       }
      }
     },
     "localname": "LongTermDebtByCurrentAndNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Principal Payments [Abstract]"
       }
      }
     },
     "localname": "LongTermDebtByMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "auth_ref": [
      "r84",
      "r199",
      "r335"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Long-Term Debt, Maturity, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive": {
     "auth_ref": [
      "r84",
      "r199",
      "r335"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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 fifth 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": "Long-Term Debt, Maturity, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "auth_ref": [
      "r84",
      "r199",
      "r335"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Long-Term Debt, Maturity, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "auth_ref": [
      "r84",
      "r199",
      "r335"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Long-Term Debt, Maturity, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "auth_ref": [
      "r84",
      "r199",
      "r335"
     ],
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Long-Term Debt, Maturity, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtTextBlock": {
     "auth_ref": [
      "r86"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-term debt.",
        "label": "Long-Term Debt [Text Block]",
        "terseLabel": "Long-Term Debt"
       }
      }
     },
     "localname": "LongTermDebtTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MaintenanceCostPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of the accounting policy for maintenance costs. Does not include planned major maintenance activities.",
        "label": "Repairs and Maintenance"
       }
      }
     },
     "localname": "MaintenanceCostPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MandatorilyRedeemablePreferredStockFairValueDisclosure": {
     "auth_ref": [
      "r87"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of shares that an entity is required to redeem for cash or other assets at a fixed or determinable date or upon the occurrence of an event.",
        "label": "Fair value of preferred stock"
       }
      }
     },
     "localname": "MandatorilyRedeemablePreferredStockFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MaterialReconcilingItemsMember": {
     "auth_ref": [
      "r70"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Items used in reconciling reportable segments' amounts to consolidated amount. Excludes corporate-level activity.",
        "label": "Segment Reconciling Items [Member]"
       }
      }
     },
     "localname": "MaterialReconcilingItemsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputPriceVolatilityMember": {
     "auth_ref": [
      "r579"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using rate at which price of security will increase (decrease) for given set of returns.",
        "label": "Historical Volatility Measurement Input [Member]"
       }
      }
     },
     "localname": "MeasurementInputPriceVolatilityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r416"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MovementInAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipmentRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Movement in Accumulated Depreciation, Depletion and Amortization, Property, Plant and Equipment [Roll Forward]",
        "verboseLabel": "Accumulated Depreciation [Abstract]"
       }
      }
     },
     "localname": "MovementInAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipmentRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MovementInPropertyPlantAndEquipmentRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Movement in Property, Plant and Equipment [Roll Forward]",
        "terseLabel": "Vessel Cost [Abstract]"
       }
      }
     },
     "localname": "MovementInPropertyPlantAndEquipmentRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r191"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by Financing Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows provided by Financing Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r191"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used in Investing Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flow used in Investing Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r44",
      "r45",
      "r48"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net Cash (used in)/provided by Operating Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flows (used in)/provided by Operating Activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r27",
      "r48",
      "r131",
      "r147",
      "r157",
      "r175",
      "r177",
      "r181",
      "r196",
      "r203",
      "r205",
      "r206",
      "r207",
      "r208",
      "r211",
      "r212",
      "r218",
      "r249",
      "r260",
      "r266",
      "r269",
      "r283",
      "r311",
      "r312",
      "r314",
      "r315",
      "r316",
      "r318",
      "r320",
      "r322",
      "r323",
      "r415",
      "r419",
      "r505",
      "r568"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net (loss)/income",
        "totalLabel": "Net (loss)/income",
        "verboseLabel": "Net (loss)/income"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r205",
      "r206",
      "r207",
      "r208",
      "r213",
      "r214",
      "r219",
      "r222",
      "r249",
      "r260",
      "r266",
      "r269",
      "r505"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "totalLabel": "Net (loss)/income attributable to common shareholders"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "auth_ref": [
      "r35"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
        "label": "Nonoperating Income (Expense)",
        "totalLabel": "Total other expenses, net"
       }
      }
     },
     "localname": "NonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NumberOfOperatingSegments": {
     "auth_ref": [
      "r557"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.",
        "label": "Number of operating segments"
       }
      }
     },
     "localname": "NumberOfOperatingSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r557"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsSegmentReportingDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OfficersCompensation": {
     "auth_ref": [
      "r542"
     ],
     "calculation": {
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_GeneralAndAdministrativeExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Chief Executive and Chief Financial Officer and directors' compensation"
       }
      }
     },
     "localname": "OfficersCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingCostsAndExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      },
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Excludes Selling, General and Administrative Expense.",
        "label": "Operating Costs and Expenses",
        "negatedLabel": "Vessel operating expenses",
        "totalLabel": "Total Vessel operating expenses"
       }
      }
     },
     "localname": "OperatingCostsAndExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingCostsAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessel Operating Expenses [Abstract]"
       }
      }
     },
     "localname": "OperatingCostsAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r249",
      "r260",
      "r266",
      "r269",
      "r505"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "totalLabel": "Operating income"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLeaseIncome": {
     "auth_ref": [
      "r229",
      "r436",
      "r442"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Operating Lease, Lease Income",
        "verboseLabel": "Vessel revenues"
       }
      }
     },
     "localname": "OperatingLeaseLeaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingSegmentsMember": {
     "auth_ref": [
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Operating Segment [Member]"
       }
      }
     },
     "localname": "OperatingSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and General information [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r0",
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Basis of Presentation and General information"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAmortizationOfDeferredCharges": {
     "auth_ref": [
      "r31",
      "r47"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization of other deferred costs recognized in the income statement.",
        "label": "Amortization of Other Deferred Charges",
        "verboseLabel": "Amortization of other deferred charges"
       }
      }
     },
     "localname": "OtherAmortizationOfDeferredCharges",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for other assets. This disclosure includes other current assets and other noncurrent assets.",
        "label": "Other Assets Disclosure [Text Block]",
        "terseLabel": "Deferred Charges, net"
       }
      }
     },
     "localname": "OtherAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherCommitmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Commitments [Abstract]",
        "terseLabel": "Commitments Under Contracts for BWMS Installation [Abstract]"
       }
      }
     },
     "localname": "OtherCommitmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "auth_ref": [
      "r31"
     ],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation.",
        "label": "Other Cost and Expense, Operating",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherCostAndExpenseOperating",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherIncomeAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OTHER INCOME/(EXPENSES):"
       }
      }
     },
     "localname": "OtherIncomeAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncomeParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherLiabilitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value of Acquired Time Charters [Abstract]"
       }
      }
     },
     "localname": "OtherLiabilitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherLiabilitiesDisclosureTextBlock": {
     "auth_ref": [
      "r18"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for other liabilities.",
        "label": "Other Liabilities Disclosure [Text Block]",
        "terseLabel": "Fair Value of Acquired Time Charters"
       }
      }
     },
     "localname": "OtherLiabilitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeCharters"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherNonoperatingIncomeAndExpenseTextBlock": {
     "auth_ref": [
      "r187",
      "r188"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest and Finance Costs"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeAndExpenseTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCosts"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OverAllotmentOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right given to the underwriter to sell additional shares over the initial allotment.",
        "label": "Over-Allotment Option [Member]",
        "terseLabel": "Over-Allotment Option [Member]"
       }
      }
     },
     "localname": "OverAllotmentOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PaidInKindInterest": {
     "auth_ref": [
      "r47"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest paid other than in cash for example by issuing additional debt securities. As a noncash item, it is added to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Interest settled in common stock",
        "verboseLabel": "Interest on convertible debt - non cash"
       }
      }
     },
     "localname": "PaidInKindInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock": {
     "auth_ref": [
      "r41"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for reacquisition of callable preferred stock.",
        "label": "Payments for Repurchase of Redeemable Preferred Stock",
        "negatedLabel": "Redemption of Series A Preferred Shares"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfRedeemablePreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfFinancingCosts": {
     "auth_ref": [
      "r43"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for loan and debt issuance costs.",
        "label": "Payments of Financing Costs",
        "negatedLabel": "Payment of deferred financing costs"
       }
      }
     },
     "localname": "PaymentsOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r43"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments of Stock Issuance Costs",
        "negatedLabel": "Common stock issuance expenses"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireEquitySecuritiesFvNi": {
     "auth_ref": [
      "r190",
      "r281"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Payments to Acquire Equity Securities, FV-NI",
        "negatedLabel": "Purchase of equity securities"
       }
      }
     },
     "localname": "PaymentsToAcquireEquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Vessel acquisitions (including time charters attached) and other vessel improvements"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock.",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "terseLabel": "Preferred shares, dividend rate"
       }
      }
     },
     "localname": "PreferredStockDividendRatePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders.",
        "label": "Preferred Stock Dividends, Income Statement Impact",
        "negatedLabel": "Less: Deemed dividend on Series A Preferred Shares",
        "negatedTerseLabel": "Deemed dividend on Series A preferred shares"
       }
      }
     },
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "auth_ref": [
      "r9",
      "r92",
      "r93",
      "r547",
      "r574"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Liquidation preference per share (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockLiquidationPreference",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]",
        "terseLabel": "Preferred Shares [Member]"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock, Number of Shares, Par Value and Other Disclosure [Abstract]",
        "terseLabel": "Preferred Shares [Abstract]"
       }
      }
     },
     "localname": "PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r9",
      "r344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred shares, par value (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred shares, shares authorized (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r9",
      "r344"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred shares, shares issued (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred shares, shares outstanding (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r9",
      "r521"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred shares"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r541"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid expenses and other assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent": {
     "auth_ref": [
      "r123",
      "r138",
      "r538"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed after one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Noncurrent",
        "verboseLabel": "Prepaid expenses and other assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "auth_ref": [
      "r544"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt.",
        "label": "Proceeds from long-term debt and convertible debentures",
        "verboseLabel": "Proceeds from debt"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "auth_ref": [
      "r39"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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": "Gross proceeds from issuance of common stock and warrants",
        "terseLabel": "Gross proceeds from issuance of common shares"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "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/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRelatedPartyDebt": {
     "auth_ref": [
      "r40"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Proceeds from Related Party Debt",
        "terseLabel": "Proceeds from related party debt"
       }
      }
     },
     "localname": "ProceedsFromRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi": {
     "auth_ref": [
      "r190",
      "r281"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Proceeds from Sale of Equity Securities, FV-NI",
        "terseLabel": "Proceeds from sale of equity securities"
       }
      }
     },
     "localname": "ProceedsFromSaleOfEquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "auth_ref": [
      "r37"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Proceeds from Sale of Property, Plant, and Equipment",
        "terseLabel": "Net proceeds from sale of vessel"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r149",
      "r150"
     ],
     "calculation": {
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_GeneralAndAdministrativeExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Professional Fees",
        "terseLabel": "Professional fees and other expenses"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessels, net/ Advances for Vessel Acquisitions [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Acquisitions, improvements, and other vessel costs",
        "terseLabel": "Purchase price of acquired vessel",
        "verboseLabel": "Purchase price"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAdditions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/DeferredChargesNetDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r81",
      "r488",
      "r489",
      "r490"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "verboseLabel": "Vessels, net/ Advances for Vessel Acquisitions"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisposals": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Property, Plant and Equipment, Disposals",
        "negatedLabel": "Vessel disposal"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisposals",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r76",
      "r163"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r78",
      "r145",
      "r473",
      "r521"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Aggregate carrying value",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Vessels, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment, Net [Abstract]",
        "verboseLabel": "Vessel Acquisitions [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment, Net, by Type [Abstract]",
        "terseLabel": "Net Book Value [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNetByTypeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r78",
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Vessels, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Vessels, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTransfersAndChanges": {
     "auth_ref": [
      "r79"
     ],
     "crdr": "debit",
     "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 classified as other. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Transfers and Changes",
        "terseLabel": "Transfers from Advances for vessel acquisitions"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTransfersAndChanges",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r76"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/DeferredChargesNetDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Estimated useful life"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsVesselsDepreciationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForDoubtfulAccounts": {
     "auth_ref": [
      "r186",
      "r285"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
        "label": "Accounts Receivable, Credit Loss Expense (Reversal)",
        "negatedLabel": "Provision for doubtful accounts",
        "verboseLabel": "Provision for doubtful accounts"
       }
      }
     },
     "localname": "ProvisionForDoubtfulAccounts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsAccountsReceivableTradeNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis": {
     "auth_ref": [
      "r8",
      "r127",
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by arrangement, in which the entity has agreed to expend funds to procure goods or services from one or more suppliers.",
        "label": "Purchase Commitment, Excluding Long-term Commitment [Axis]"
       }
      }
     },
     "localname": "PurchaseCommitmentExcludingLongtermCommitmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain": {
     "auth_ref": [
      "r8",
      "r127",
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item is intended to be populated, by the entity, with Members identifying each purchase commitment about which information required or determined to be disclosed is being provided. If only one such commitment exists, this item may be used to capture such information; if multiple commitments exist, this item is the dimensional default, which will aggregate such information, as appropriate.",
        "label": "Purchase Commitment, Excluding Long-term Commitment [Domain]"
       }
      }
     },
     "localname": "PurchaseCommitmentExcludingLongtermCommitmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PurchaseCommitmentExcludingLongtermCommitmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Purchase Commitment, Excluding Long-term Commitment [Line Items]"
       }
      }
     },
     "localname": "PurchaseCommitmentExcludingLongtermCommitmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTable": {
     "auth_ref": [
      "r8",
      "r127",
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of information required or determined to be disclosed about arrangements in which the entity has agreed to expend funds to procure goods or services from one or more suppliers. Such disclosure may include identification of the goods or services to be purchased, identity of the seller, pricing, effects on pricing for failing to reach minimum quantities required to be purchased (such as penalties), cancellation rights, and termination provisions.",
        "label": "Purchase Commitment, Excluding Long-term Commitment [Table]"
       }
      }
     },
     "localname": "PurchaseCommitmentExcludingLongtermCommitmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PurchaseCommitmentMember": {
     "auth_ref": [
      "r8",
      "r127",
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase arrangement in which the entity has agreed to expend funds to procure goods or services from a supplier. Excludes long-term commitments.",
        "label": "Purchase Commitment [Member]",
        "terseLabel": "Purchase Commitment for Ballast Water Management Systems [Member]"
       }
      }
     },
     "localname": "PurchaseCommitmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted": {
     "auth_ref": [
      "r8",
      "r127",
      "r142"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum amount to be expended to satisfy the terms of arrangements in which the entity has agreed to expend funds to procure goods or services, excluding long-term purchase commitments or unconditional purchase obligations.",
        "label": "Purchase Commitment, Remaining Minimum Amount Committed",
        "terseLabel": "Contractual purchase obligations"
       }
      }
     },
     "localname": "PurchaseCommitmentRemainingMinimumAmountCommitted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reconciliation [Abstract]",
        "terseLabel": "Segment Information [Abstract]"
       }
      }
     },
     "localname": "ReconciliationFromSegmentTotalsToConsolidatedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable": {
     "auth_ref": [
      "r68",
      "r70"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Reconciliation of Assets from Segment to Consolidated [Table]"
       }
      }
     },
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock": {
     "auth_ref": [
      "r68",
      "r70"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of all significant reconciling items in the reconciliation of total assets from reportable segments to the entity's consolidated assets.",
        "label": "Reconciliation of Assets from Segment to Consolidated [Table Text Block]",
        "terseLabel": "Reconciliation of Total Segment Assets to Total Assets"
       }
      }
     },
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r387",
      "r446",
      "r447"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r154",
      "r446",
      "r447",
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionDueFromToRelatedPartyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction, Due from (to) Related Party [Abstract]",
        "terseLabel": "Balances with Related Parties [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDueFromToRelatedPartyAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDueFromToRelatedPartyCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction, Due from (to) Related Party, Current [Abstract]",
        "terseLabel": "Transactions with Related Parties [Abstract]",
        "verboseLabel": "Amended and Restated Master Management Agreement [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDueFromToRelatedPartyCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty": {
     "auth_ref": [],
     "calculation": {
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_GeneralAndAdministrativeExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of selling, general and administrative expenses resulting from transactions, excluding transactions that are eliminated in consolidated or combined financial statements, with related party.",
        "label": "Administration fees",
        "terseLabel": "General and administrative expenses, related party",
        "verboseLabel": "Administration fees-related party (Note 3(a))"
       }
      }
     },
     "localname": "RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncomeParenthetical",
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transactions with Related Parties [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r387",
      "r446",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r444",
      "r445",
      "r447",
      "r448",
      "r449"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "verboseLabel": "Transactions with Related Parties"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedParties"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfRelatedPartyDebt": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Repayment of loan",
        "negatedLabel": "Repayment of related party debt"
       }
      }
     },
     "localname": "RepaymentsOfRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfSecuredDebt": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to repay long-term debt that is wholly or partially secured by collateral. Excludes repayments of tax exempt secured debt.",
        "label": "Repayments of Secured Debt",
        "negatedLabel": "Repayment of long-term debt",
        "terseLabel": "Repayment of loan"
       }
      }
     },
     "localname": "RepaymentsOfSecuredDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashCurrent": {
     "auth_ref": [
      "r536",
      "r546"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Restricted Cash, Current",
        "periodEndLabel": "Restricted cash, current",
        "terseLabel": "Restricted Cash"
       }
      }
     },
     "localname": "RestrictedCashCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashNoncurrent": {
     "auth_ref": [
      "r484",
      "r537",
      "r546"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Restricted Cash, Noncurrent",
        "periodEndLabel": "Restricted cash, non-current",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCashNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r12",
      "r98",
      "r143",
      "r481",
      "r482",
      "r521"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r155",
      "r200",
      "r201",
      "r202",
      "r204",
      "r210",
      "r212",
      "r284",
      "r392",
      "r393",
      "r394",
      "r399",
      "r400",
      "r413",
      "r478",
      "r480"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings/ (Accumulated Deficit) [Member]",
        "verboseLabel": "Retained Earnings [Member]"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Vessel Revenues [Abstract]"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r240",
      "r241",
      "r259",
      "r264",
      "r265",
      "r271",
      "r272",
      "r274",
      "r380",
      "r381",
      "r457"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "terseLabel": "Voyage charter revenues"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r385",
      "r503"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "terseLabel": "Revenue Related to Voyage Charter Contracts"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "auth_ref": [
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r384",
      "r385"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Revenue from Contract with Customer [Text Block]",
        "terseLabel": "Total Vessel Revenues"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenues"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenuePerformanceObligationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues Related to Voyage Charter Contracts [Abstract]"
       }
      }
     },
     "localname": "RevenuePerformanceObligationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsRevenuesRelatedToVoyageCharterContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r183",
      "r196",
      "r240",
      "r241",
      "r259",
      "r264",
      "r265",
      "r271",
      "r272",
      "r274",
      "r283",
      "r311",
      "r312",
      "r314",
      "r315",
      "r316",
      "r318",
      "r320",
      "r322",
      "r323",
      "r419",
      "r472",
      "r568"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "totalLabel": "Total vessel revenues"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "REVENUES:"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks and Uncertainties [Abstract]",
        "terseLabel": "Credit Concentration Considerations [Abstract]"
       }
      }
     },
     "localname": "RisksAndUncertaintiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedOnTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received on stock transaction after deduction of issuance costs.",
        "label": "Net proceeds from issuance of common stock and warrants",
        "terseLabel": "Net proceeds from issuance of common stock"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedOnTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "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/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SalesRevenueNetMember": {
     "auth_ref": [
      "r274",
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Revenues [Member]"
       }
      }
     },
     "localname": "SalesRevenueNetMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "auth_ref": [
      "r56"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule for securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by Antidilutive Securities.",
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Long-Term Debt"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r555"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Calculation of Basic and Diluted Earnings/(Loss) per Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r84"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "terseLabel": "Annual Principal Payments"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Other Nonoperating Income (Expense) [Table Text Block]",
        "terseLabel": "Interest and Finance Costs"
       }
      }
     },
     "localname": "ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAdvancesForVesselAcquisitionsVesselAcquisitionsDisposalAndOtherCapitalExpendituresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r119",
      "r120"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Transactions with Related Parties"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRevenueByMajorCustomersByReportingSegmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Revenue by Major Customers by Reporting Segments [Table Text Block]",
        "terseLabel": "Revenue from Charterers"
       }
      }
     },
     "localname": "ScheduleOfRevenueByMajorCustomersByReportingSegmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r66",
      "r67",
      "r69",
      "r73"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r66",
      "r67",
      "r69",
      "r73"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Information about Company's Reportable Segments"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r88",
      "r89",
      "r90",
      "r92",
      "r93",
      "r94",
      "r95",
      "r96",
      "r97",
      "r98",
      "r167",
      "r168",
      "r169",
      "r231",
      "r344",
      "r345",
      "r346",
      "r348",
      "r352",
      "r357",
      "r359",
      "r512",
      "r535",
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule of Stock by Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://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/EquityCapitalStructureAtthemarketCommonStockOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SecuredDebtCurrent": {
     "auth_ref": [
      "r4",
      "r125",
      "r140"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 8.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Secured Debt, Current",
        "terseLabel": "Current portion of long-term debt, net",
        "totalLabel": "Current portion of long-term debt, net of deferred finance costs"
       }
      }
     },
     "localname": "SecuredDebtCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuredLongTermDebt": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      },
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Long-term debt, net",
        "totalLabel": "Non-Current portion of long-term debt, net of deferred finance costs"
       }
      }
     },
     "localname": "SecuredLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "auth_ref": [
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member]",
        "terseLabel": "SOFR [Member]"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r237",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r269",
      "r274",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r303",
      "r304",
      "r506",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Segments [Domain]"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Information [Abstract]",
        "terseLabel": "Segment Information [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsSegmentReportingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingAssetReconcilingItemLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Segment Reporting, Asset Reconciling Item [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingAssetReconcilingItemLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r237",
      "r238",
      "r239",
      "r249",
      "r252",
      "r263",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r273",
      "r274",
      "r275"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Segment Information"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingInformationProfitLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Information, Profit (Loss) [Abstract]",
        "terseLabel": "Segment Information [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingInformationProfitLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r272"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "auth_ref": [
      "r539",
      "r540",
      "r575"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A preferred stock.",
        "label": "Series A Preferred Shares [Member]",
        "terseLabel": "Preferred A Shares [Member]",
        "verboseLabel": "Series A Preferred Stock [Member]"
       }
      }
     },
     "localname": "SeriesAPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "auth_ref": [
      "r539",
      "r540",
      "r575"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series B preferred stock.",
        "label": "Series B Preferred Shares [Member]",
        "verboseLabel": "Preferred B Shares [Member]"
       }
      }
     },
     "localname": "SeriesBPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "periodEndLabel": "Balance (in shares)",
        "periodStartLabel": "Balance (in shares)"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r55",
      "r194"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies and Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r156",
      "r237",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r269",
      "r274",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r303",
      "r304",
      "r506",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r167",
      "r168",
      "r169",
      "r196",
      "r216",
      "r217",
      "r220",
      "r222",
      "r231",
      "r232",
      "r283",
      "r311",
      "r314",
      "r315",
      "r316",
      "r322",
      "r323",
      "r344",
      "r345",
      "r348",
      "r352",
      "r359",
      "r419",
      "r494",
      "r535",
      "r547",
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r24",
      "r91",
      "r155",
      "r179",
      "r180",
      "r181",
      "r200",
      "r201",
      "r202",
      "r204",
      "r210",
      "r212",
      "r230",
      "r284",
      "r361",
      "r392",
      "r393",
      "r394",
      "r399",
      "r400",
      "r413",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r443",
      "r478",
      "r479",
      "r480"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlowsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF CASH FLOWS [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED BALANCE SHEETS [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r200",
      "r201",
      "r202",
      "r230",
      "r457"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlowsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities": {
     "auth_ref": [
      "r23",
      "r91",
      "r92",
      "r98",
      "r334"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period as a result of the conversion of convertible securities.",
        "label": "Stock Issued During Period, Shares, Conversion of Convertible Securities",
        "terseLabel": "Issuance of common stock pursuant to the $5.0 Million Convertible Debentures (Note 7) (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r9",
      "r10",
      "r91",
      "r98"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Issuance of common stock (in shares)",
        "verboseLabel": "Number of shares issued in share exchange transaction (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "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/EquityCapitalStructureAtthemarketCommonStockOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructurePreferredSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities": {
     "auth_ref": [
      "r24",
      "r91",
      "r98"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gross value of stock issued during the period upon the conversion of convertible securities.",
        "label": "Issuance of common stock pursuant to the $5.0 Million Convertible Debentures (Note 7)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueConversionOfConvertibleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r9",
      "r10",
      "r91",
      "r98"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Issuance of common stock"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodShares": {
     "auth_ref": [
      "r91"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of stock bought back by the entity at the exercise price or redemption price.",
        "label": "Stock Redeemed or Called During Period, Shares",
        "negatedLabel": "Redemption of Series A Preferred Shares (Note 8) (in shares)",
        "terseLabel": "Shares redeemed (in shares)"
       }
      }
     },
     "localname": "StockRedeemedOrCalledDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodValue": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock bought back by the entity at the exercise price or redemption price.",
        "label": "Stock Redeemed or Called During Period, Value",
        "negatedLabel": "Redemption of Series A Preferred Shares (Note 8)",
        "terseLabel": "Redemption of Series A Preferred Shares"
       }
      }
     },
     "localname": "StockRedeemedOrCalledDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r10",
      "r13",
      "r14",
      "r72",
      "r521",
      "r549",
      "r560",
      "r581"
     ],
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total shareholders' equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "verboseLabel": "SHAREHOLDERS' EQUITY:"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]",
        "terseLabel": "Equity Capital Structure [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r101",
      "r195",
      "r345",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r358",
      "r361",
      "r412"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Equity Capital Structure"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StockholdersEquityNoteStockSplitConversionRatio1": {
     "auth_ref": [
      "r99"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one.",
        "label": "Reverse stock split ratio"
       }
      }
     },
     "localname": "StockholdersEquityNoteStockSplitConversionRatio1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]",
        "terseLabel": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r430",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r430",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r430",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r430",
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r451",
      "r453"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquity",
      "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/EquityCapitalStructureAtthemarketCommonStockOfferingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SUPPLEMENTAL CASH FLOW INFORMATION",
        "terseLabel": "Supplemental Cash Flow Information [Abstract]"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlowsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxesExcludingIncomeAndExciseTaxes": {
     "auth_ref": [
      "r542"
     ],
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Taxes, Miscellaneous",
        "terseLabel": "Tonnage taxes"
       }
      }
     },
     "localname": "TaxesExcludingIncomeAndExciseTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TradeAndOtherAccountsReceivablePolicy": {
     "auth_ref": [
      "r151",
      "r152",
      "r153",
      "r278",
      "r279",
      "r280"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for accounts receivable.",
        "label": "Accounts Receivable [Policy Text Block]",
        "terseLabel": "Accounts Receivable Trade, Net"
       }
      }
     },
     "localname": "TradeAndOtherAccountsReceivablePolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r63",
      "r64",
      "r65",
      "r233",
      "r234",
      "r235",
      "r236"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantsAndRightsOutstanding": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price.",
        "label": "Fair value of warrants"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingMeasurementInput": {
     "auth_ref": [
      "r417"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur.",
        "label": "Measurement input",
        "terseLabel": "Measurement input - Volatility"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingTerm": {
     "auth_ref": [
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Warrants and Rights Outstanding, Term",
        "terseLabel": "Term of warrant"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "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"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment": {
     "auth_ref": [
      "r555"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted, Adjustment",
        "terseLabel": "Plus: Dilutive effect of warrants (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberDilutedSharesOutstandingAdjustment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r215",
      "r222"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Weighted average number of common shares outstanding, diluted (in shares)",
        "verboseLabel": "Weighted average number of common shares, diluted (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r213",
      "r222"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted average number of common shares outstanding, basic (in shares)",
        "terseLabel": "Weighted average number of common shares, basic (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveLossIncome",
      "http://castormaritime.com/role/LossEarningsPerCommonShareDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 19
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org/topic&trid=2122149",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(24))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "50",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6784392&loc=d3e188667-122775",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5047-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org/topic&trid=2197479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=28365394&loc=d3e23770-108382",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(17))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.8)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "e",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5093-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(11))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20,24)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(5))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(7))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(9))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3444-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(25))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1377-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "https://asc.fasb.org/topic&trid=2144383",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e543-108305",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900988&loc=SL77927221-108306",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-30)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8657-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8844-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8981-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "https://asc.fasb.org/topic&trid=2134510",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e4975-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5033-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=123583714&loc=SL75117360-209713",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "https://asc.fasb.org/topic&trid=2126998",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905575&loc=SL49131252-203054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905575&loc=SL49131252-203054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(26))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.3)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496180-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130532-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130551-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130558-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130561-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130564-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130550-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "https://asc.fasb.org/topic&trid=49130388",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=SL126733271-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=126980362&loc=d3e28228-110885",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123602790&loc=d3e30226-110892",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6897108&loc=SL6897125-166521",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "https://asc.fasb.org/topic&trid=2175825",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123420820&loc=SL77919311-209978",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919352-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919396-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL119206284-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL117410129-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL117410129-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919372-209981",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "330",
   "Topic": "912",
   "URI": "https://asc.fasb.org/extlink&oid=6471895&loc=d3e55923-109411",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=120413173&loc=SL116631458-115580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942805&loc=d3e3115-115594",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "450",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491354&loc=d3e6049-115624",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99779-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99893-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=SL120174063-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r524": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r525": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r526": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r527": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r528": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r529": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r531": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r532": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r533": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r534": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=126905981&loc=d3e2443-110228",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org/topic&trid=2127136",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=124256753&loc=SL5864739-113975",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=124258985&loc=SL77919396-209981",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(23))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8475-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226317&loc=d3e202-110218",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(25))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=27011434&loc=d3e125687-122742",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "https://asc.fasb.org/topic&trid=2155823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=126907703&loc=d3e12565-110249",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466103&loc=SL6014347-161799",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=109262497&loc=d3e21216-110875",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21553-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21484-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21488-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.C)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  }
 },
 "version": "2.2"
}
