{
 "version": "2.2",
 "instance": {
  "ef20031110_ex99-1.htm": {
   "nsprefix": "ctrm",
   "nsuri": "http://castormaritime.com/20240630",
   "dts": {
    "schema": {
     "local": [
      "ctrm-20240630.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/2023/calculation-1.1.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-roles-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-types-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-roles-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-types-2024.xsd",
      "https://xbrl.sec.gov/country/2024/country-2024.xsd",
      "https://xbrl.sec.gov/currency/2024/currency-2024.xsd",
      "https://xbrl.sec.gov/dei/2024/dei-2024.xsd",
      "https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd",
      "https://xbrl.sec.gov/exch/2024/exch-2024.xsd",
      "https://xbrl.sec.gov/naics/2024/naics-2024.xsd",
      "https://xbrl.sec.gov/sic/2024/sic-2024.xsd",
      "https://xbrl.sec.gov/stpr/2024/stpr-2024.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "ctrm-20240630_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "ctrm-20240630_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "ctrm-20240630_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "ctrm-20240630_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "ef20031110_ex99-1.htm"
     ]
    }
   },
   "keyStandard": 217,
   "keyCustom": 86,
   "axisStandard": 21,
   "axisCustom": 0,
   "memberStandard": 21,
   "memberCustom": 100,
   "hidden": {
    "total": 54,
    "http://castormaritime.com/20240630": 37,
    "http://fasb.org/us-gaap/2024": 11,
    "http://xbrl.sec.gov/dei/2024": 6
   },
   "contextCount": 274,
   "entityCount": 1,
   "segmentCount": 122,
   "elementCount": 567,
   "unitCount": 11,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2024": 696,
    "http://xbrl.sec.gov/dei/2024": 42
   },
   "report": {
    "R1": {
     "role": "http://castormaritime.com/role/DocumentAndEntityInformation",
     "longName": "000100 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": null,
     "uniqueAnchor": null
    },
    "R2": {
     "role": "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
     "longName": "010000 - Statement - UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS",
     "shortName": "UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:RestrictedCashCurrent",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical",
     "longName": "010100 - Statement - UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "shortName": "UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "unitRef": "U004",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240630_StatementClassOfStockAxis_SeriesDPreferredStockMember",
      "name": "us-gaap:TemporaryEquityLiquidationPreference",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R4": {
     "role": "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome",
     "longName": "020000 - Statement - UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "shortName": "UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OperatingLeaseLeaseIncome",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:CostsAndExpenses",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical",
     "longName": "020100 - Statement - UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)",
     "shortName": "UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:VoyageExpenses",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R6": {
     "role": "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
     "longName": "030000 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY AND MEZZANINE EQUITY",
     "shortName": "UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY AND MEZZANINE EQUITY",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "c20221231_StatementEquityComponentsAxis_ParValueOfSharesIssuedMember",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20221231_StatementEquityComponentsAxis_ParValueOfSharesIssuedMember",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows",
     "longName": "040000 - Statement - UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "shortName": "UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "7",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "us-gaap:ComprehensiveIncomeNetOfTax",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:DepreciationAndAmortizationOfDeferredDryDockingCosts",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R8": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformation",
     "longName": "060100 - Disclosure - Basis of Presentation and General information",
     "shortName": "Basis of Presentation and General information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncements",
     "longName": "060200 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://castormaritime.com/role/DiscontinuedOperations",
     "longName": "060300 - Disclosure - Discontinued operations",
     "shortName": "Discontinued operations",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedParties",
     "longName": "060400 - Disclosure - Transactions with Related Parties",
     "shortName": "Transactions with Related Parties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://castormaritime.com/role/DeferredChargesNet",
     "longName": "060500 - Disclosure - Deferred Charges, net",
     "shortName": "Deferred Charges, net",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://castormaritime.com/role/FairValueOfAcquiredTimeCharters",
     "longName": "060600 - Disclosure - Fair Value of Acquired Time Charters",
     "shortName": "Fair Value of Acquired Time Charters",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSale",
     "longName": "060700 - Disclosure - Vessels, net/Assets held for sale",
     "shortName": "Vessels, net/Assets held for sale",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://castormaritime.com/role/LongtermDebt",
     "longName": "060800 - Disclosure - Long-Term Debt",
     "shortName": "Long-Term Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://castormaritime.com/role/InvestmentInEquitySecurities",
     "longName": "060900 - Disclosure - Investment in equity securities",
     "shortName": "Investment in equity securities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://castormaritime.com/role/EquityCapitalStructure",
     "longName": "061000 - Disclosure - Equity Capital Structure",
     "shortName": "Equity Capital Structure",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://castormaritime.com/role/FinancialInstrumentsAndFairValueDisclosures",
     "longName": "061100 - Disclosure - Financial Instruments and Fair Value Disclosures",
     "shortName": "Financial Instruments and Fair Value Disclosures",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://castormaritime.com/role/CommitmentsAndContingencies",
     "longName": "061200 - Disclosure - Commitments and Contingencies",
     "shortName": "Commitments and Contingencies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://castormaritime.com/role/EarningsPerCommonShare",
     "longName": "061300 - Disclosure - Earnings Per Common Share",
     "shortName": "Earnings Per Common Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://castormaritime.com/role/TotalVesselRevenues",
     "longName": "061400 - Disclosure - Total Vessel Revenues",
     "shortName": "Total Vessel Revenues",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpenses",
     "longName": "061500 - Disclosure - Vessel Operating Expenses and Voyage Expenses",
     "shortName": "Vessel Operating Expenses and Voyage Expenses",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:VesselOperatingAndVoyageExpensesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:VesselOperatingAndVoyageExpensesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpenses",
     "longName": "061600 - Disclosure - General and Administrative Expenses",
     "shortName": "General and Administrative Expenses",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:GeneralAndAdministrativeExpensesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:GeneralAndAdministrativeExpensesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://castormaritime.com/role/InterestAndFinanceCosts",
     "longName": "061700 - Disclosure - Interest and Finance Costs",
     "shortName": "Interest and Finance Costs",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://castormaritime.com/role/SegmentInformation",
     "longName": "061800 - Disclosure - Segment Information",
     "shortName": "Segment Information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://castormaritime.com/role/SubsequentEvents",
     "longName": "061900 - Disclosure - Subsequent Events",
     "shortName": "Subsequent Events",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationPolicies",
     "longName": "070100 - Disclosure - Basis of Presentation and General information (Policies)",
     "shortName": "Basis of Presentation and General information (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "27",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables",
     "longName": "080100 - Disclosure - Basis of Presentation and General Information (Tables)",
     "shortName": "Basis of Presentation and General Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "28",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:VesselOwningSubsidiariesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:VesselOwningSubsidiariesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://castormaritime.com/role/DiscontinuedOperationsTables",
     "longName": "080300 - Disclosure - Discontinued operations (Tables)",
     "shortName": "Discontinued operations (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "29",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesTables",
     "longName": "080400 - Disclosure - Transactions with Related Parties (Tables)",
     "shortName": "Transactions with Related Parties (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "30",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://castormaritime.com/role/DeferredChargesNetTables",
     "longName": "080500 - Disclosure - Deferred Charges, net (Tables)",
     "shortName": "Deferred Charges, net (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "31",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleTables",
     "longName": "080700 - Disclosure - Vessels, net/Assets held for sale (Tables)",
     "shortName": "Vessels, net/Assets held for sale (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "32",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://castormaritime.com/role/LongtermDebtTables",
     "longName": "080800 - Disclosure - Long-Term Debt (Tables)",
     "shortName": "Long-Term Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "33",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://castormaritime.com/role/InvestmentInEquitySecuritiesTables",
     "longName": "080900 - Disclosure - Investment in equity securities (Tables)",
     "shortName": "Investment in equity securities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "34",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://castormaritime.com/role/CommitmentsAndContingenciesTables",
     "longName": "081200 - Disclosure - Commitments and Contingencies (Tables)",
     "shortName": "Commitments and Contingencies (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "35",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://castormaritime.com/role/EarningsPerCommonShareTables",
     "longName": "081300 - Disclosure - Earnings Per Common Share (Tables)",
     "shortName": "Earnings Per Common Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "36",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://castormaritime.com/role/TotalVesselRevenuesTables",
     "longName": "081400 - Disclosure - Total Vessel Revenues (Tables)",
     "shortName": "Total Vessel Revenues (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "37",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables",
     "longName": "081500 - Disclosure - Vessel Operating Expenses and Voyage Expenses (Tables)",
     "shortName": "Vessel Operating Expenses and Voyage Expenses (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "38",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:VesselOperatingExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:VesselOperatingExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpensesTables",
     "longName": "081600 - Disclosure - General and Administrative Expenses (Tables)",
     "shortName": "General and Administrative Expenses (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "39",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:GeneralAndAdministrativeExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:GeneralAndAdministrativeExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://castormaritime.com/role/InterestAndFinanceCostsTables",
     "longName": "081700 - Disclosure - Interest and Finance Costs (Tables)",
     "shortName": "Interest and Finance Costs (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "40",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://castormaritime.com/role/SegmentInformationTables",
     "longName": "081800 - Disclosure - Segment Information (Tables)",
     "shortName": "Segment Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "41",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
     "longName": "090100 - Disclosure - Basis of Presentation and General information, General Information (Details)",
     "shortName": "Basis of Presentation and General information, General Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "42",
     "firstAnchor": {
      "contextRef": "c20240327",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "unitRef": "U004",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230307",
      "name": "ctrm:NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff",
      "unitRef": "U003",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R43": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
     "longName": "090104 - Disclosure - Basis of Presentation and General information, Vessel Owning Subsidiaries (Details)",
     "shortName": "Basis of Presentation and General information, Vessel Owning Subsidiaries (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "43",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:VesselDeadWeightTonnage",
      "unitRef": "U007",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630_PropertyPlantAndEquipmentByTypeAxis_MagicPMember",
      "name": "ctrm:VesselDeadWeightTonnage",
      "unitRef": "U007",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R44": {
     "role": "http://castormaritime.com/role/DiscontinuedOperationsDetails",
     "longName": "090300 - Disclosure - Discontinued operations (Details)",
     "shortName": "Discontinued operations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "44",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20230307_DisposalGroupClassificationAxis_ToroCorpMember",
      "name": "us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R45": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
     "longName": "090400 - Disclosure - Transactions with Related Parties, Summary (Details)",
     "shortName": "Transactions with Related Parties, Summary (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "45",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:OtherReceivablesNetCurrent",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240630_PropertyPlantAndEquipmentByTypeAxis_MagicNebulaMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember",
      "name": "us-gaap:OtherLiabilitiesCurrent",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R46": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
     "longName": "090402 - Disclosure - Transactions with Related Parties, Castor Ships (Details)",
     "shortName": "Transactions with Related Parties, Castor Ships (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "46",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:RelatedPartyTransactionManagementFees",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630_CounterpartyNameAxis_CastorShipsSAMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember",
      "name": "ctrm:RelatedPartyTransactionManagementFees",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R47": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
     "longName": "090404 - Disclosure - Transactions with Related Parties, Pavimar (Details)",
     "shortName": "Transactions with Related Parties, Pavimar (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "47",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:RelatedPartyTransactionManagementFees",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630_CounterpartyNameAxis_PavimarSAMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember",
      "name": "ctrm:RelatedPartyTransactionManagementFees",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R48": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
     "longName": "090406 - Disclosure - Transactions with Related Parties, Investment in Related Party (Details)",
     "shortName": "Transactions with Related Parties, Investment in Related Party (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "48",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "unitRef": "U004",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630_CounterpartyNameAxis_ToroCorpMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember_StatementClassOfStockAxis_SeriesAPreferredStockMember",
      "name": "ctrm:PreferredStockVotingRightsNumberOfVotes",
      "unitRef": "U009",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R49": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
     "longName": "090408 - Disclosure - Transactions with Related Parties, Issuance of Series D Preferred shares to Toro (Details)",
     "shortName": "Transactions with Related Parties, Issuance of Series D Preferred shares to Toro (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "49",
     "firstAnchor": {
      "contextRef": "c20230807to20230807_StatementClassOfStockAxis_SeriesDPreferredStockMember",
      "name": "us-gaap:PreferredStockDividendRatePercentage",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230807_CounterpartyNameAxis_ToroCorpMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember_StatementClassOfStockAxis_SeriesDPreferredStockMember",
      "name": "us-gaap:PreferredStockSharesIssued",
      "unitRef": "U003",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R50": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
     "longName": "090410 - Disclosure - Transactions with Related Parties, Vessel Disposals (Details)",
     "shortName": "Transactions with Related Parties, Vessel Disposals (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "50",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:BrokerageCommissionsRelatedParty",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231221_PropertyPlantAndEquipmentByTypeAxis_MagicVenusMember_RelatedPartyTransactionsByRelatedPartyAxis_EntityAffiliatedWithFamilyMemberOfPetrosPanagiotidisMember",
      "name": "ctrm:PropertyPlantAndEquipmentSalesPrice",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R51": {
     "role": "http://castormaritime.com/role/DeferredChargesNetDetails",
     "longName": "090500 - Disclosure - Deferred Charges, net (Details)",
     "shortName": "Deferred Charges, net (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "51",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:CapitalizedContractCostNetNoncurrent",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:CapitalizedContractCostAdjustmentToAdditions",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R52": {
     "role": "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
     "longName": "090600 - Disclosure - Fair Value of Acquired Time Charters (Details)",
     "shortName": "Fair Value of Acquired Time Charters (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "52",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "ctrm:FiniteLivedIntangibleAssetOffMarketLeaseFavorableNet",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20221031_PropertyPlantAndEquipmentByTypeAxis_ArianaAMember",
      "name": "ctrm:FiniteLivedIntangibleAssetOffMarketLeaseFavorableNet",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R53": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails",
     "longName": "090700 - Disclosure - Vessels, net/Assets held for sale, Net Book Value (Details)",
     "shortName": "Vessels, net/Assets held for sale, Net Book Value (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "53",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:PropertyPlantAndEquipmentNet",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231_PropertyPlantAndEquipmentByTypeAxis_VesselsMember",
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R54": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails",
     "longName": "090702 - Disclosure - Vessels, net/Assets held for sale, Disposal of vessels (Details)",
     "shortName": "Vessels, net/Assets held for sale, Disposal of vessels (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "54",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:GainLossOnDispositionOfAssets",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:ImpairmentOfLongLivedAssetsToBeDisposedOf",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R55": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails",
     "longName": "090704 - Disclosure - Vessels, net/Assets held for sale, Assets Held for Sale (Details)",
     "shortName": "Vessels, net/Assets held for sale, Assets Held for Sale (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "55",
     "firstAnchor": {
      "contextRef": "c20231231_PropertyPlantAndEquipmentByTypeAxis_VesselsHeldForSaleMember",
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231_PropertyPlantAndEquipmentByTypeAxis_VesselsHeldForSaleMember",
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R56": {
     "role": "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
     "longName": "090800 - Disclosure - Long-Term Debt, Long-Term Debt (Details)",
     "shortName": "Long-Term Debt, Long-Term Debt (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "56",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:DeferredFinanceCostsNet",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R57": {
     "role": "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
     "longName": "090802 - Disclosure - Long-Term Debt, $11.0 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $11.0 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "57",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20230331_DebtInstrumentAxis_SeniorSecuredTermLoanFacilityAlphaBankSA2019Member",
      "name": "us-gaap:DebtInstrumentBasisSpreadOnVariableRate1",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R58": {
     "role": "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
     "longName": "090806 - Disclosure - Long-Term Debt, $15.29 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $15.29 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "58",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240308to20240308_DebtInstrumentAxis_SeniorSecuredTermLoanFacilityHamburgCommercialBankAGJanuary2021Member_PropertyPlantAndEquipmentByTypeAxis_MagicNovaMember",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R59": {
     "role": "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
     "longName": "090808 - Disclosure - Long-Term Debt, $40.75 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $40.75 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "59",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240418to20240418_DebtInstrumentAxis_SeniorSecuredTermLoanFacilityHamburgCommercialBankAGJuly2021Member_PropertyPlantAndEquipmentByTypeAxis_MagicNebulaMember",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R60": {
     "role": "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
     "longName": "090810 - Disclosure - Long-Term Debt, $55.0 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $55.0 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240523to20240523_DebtInstrumentAxis_SeniorSecuredTermLoanFacilityDeutscheBankAGMember",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R61": {
     "role": "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
     "longName": "090812 - Disclosure - Long-Term Debt, $22.5 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $22.5 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R62": {
     "role": "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
     "longName": "090824 - Disclosure - Long-Term Debt, Annual Principal Payments (Details)",
     "shortName": "Long-Term Debt, Annual Principal Payments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R63": {
     "role": "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails",
     "longName": "090900 - Disclosure - Investment in equity securities (Details)",
     "shortName": "Investment in equity securities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:EquitySecuritiesFvNi",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:EquitySecuritiesFvNiRealizedGain",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R64": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
     "longName": "091000 - Disclosure - Equity Capital Structure, Reverse Stock Split and Warrants Tender Offer (Details)",
     "shortName": "Equity Capital Structure, Reverse Stock Split and Warrants Tender Offer (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "c20240327",
      "name": "us-gaap:CommonStockSharesOutstanding",
      "unitRef": "U003",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240630",
      "name": "ctrm:CapitalStockSharesAuthorized",
      "unitRef": "U003",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "ctrm:CapitalStockSharesAuthorized",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R65": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
     "longName": "091002 - Disclosure - Equity Capital Structure, Series D Cumulative Perpetual Convertible Preferred Shares (Details)",
     "shortName": "Equity Capital Structure, Series D Cumulative Perpetual Convertible Preferred Shares (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "65",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:TemporaryEquityCarryingAmountAttributableToParent",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240327_StatementClassOfStockAxis_SeriesDPreferredStockMember",
      "name": "us-gaap:PreferredStockConvertibleConversionPrice",
      "unitRef": "U004",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R66": {
     "role": "http://castormaritime.com/role/CommitmentsAndContingenciesDetails",
     "longName": "091200 - Disclosure - Commitments and Contingencies (Details)",
     "shortName": "Commitments and Contingencies (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "66",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R67": {
     "role": "http://castormaritime.com/role/EarningsPerCommonShareDetails",
     "longName": "091300 - Disclosure - Earnings Per Common Share (Details)",
     "shortName": "Earnings Per Common Share (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersDiluted",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R68": {
     "role": "http://castormaritime.com/role/TotalVesselRevenuesDetails",
     "longName": "091400 - Disclosure - Total Vessel Revenues (Details)",
     "shortName": "Total Vessel Revenues (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "68",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OperatingLeaseLeaseIncome",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630_RangeAxis_MinimumMember",
      "name": "ctrm:TimeCharterContractTerm",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R69": {
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails",
     "longName": "091500 - Disclosure - Vessel Operating Expenses and Voyage Expenses (Details)",
     "shortName": "Vessel Operating Expenses and Voyage Expenses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:LaborAndRelatedExpense",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:LaborAndRelatedExpense",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R70": {
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
     "longName": "091600 - Disclosure - General and Administrative Expenses (Details)",
     "shortName": "General and Administrative Expenses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "70",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OfficersCompensation",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:OfficersCompensation",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R71": {
     "role": "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
     "longName": "091700 - Disclosure - Interest and Finance Costs (Details)",
     "shortName": "Interest and Finance Costs (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:InterestExpenseDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:InterestExpenseDebt",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R72": {
     "role": "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
     "longName": "091800 - Disclosure - Segment Information, Information about Company's Reportable Segments (Details)",
     "shortName": "Segment Information, Information about Company's Reportable Segments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:NumberOfContainershipsAcquired",
      "unitRef": "U006",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "ctrm:NumberOfContainershipsAcquired",
      "unitRef": "U006",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R73": {
     "role": "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails",
     "longName": "091802 - Disclosure - Segment Information, Reconciliation of Total Segment Assets to Total Assets (Details)",
     "shortName": "Segment Information, Reconciliation of Total Segment Assets to Total Assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "c20240630",
      "name": "us-gaap:Assets",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240630_ConsolidationItemsAxis_OperatingSegmentsMember_StatementBusinessSegmentsAxis_DryBulkSegmentMember",
      "name": "us-gaap:Assets",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    },
    "R74": {
     "role": "http://castormaritime.com/role/SubsequentEventsDetails",
     "longName": "091900 - Disclosure - Subsequent Events (Details)",
     "shortName": "Subsequent Events (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "c20240101to20240630",
      "name": "us-gaap:PaymentsOfDividendsPreferredStockAndPreferenceStock",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240716_SubsequentEventTypeAxis_SubsequentEventMember",
      "name": "ctrm:PropertyPlantAndEquipmentPurchasePrice",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20031110_ex99-1.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies and Recent Accounting Pronouncements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsPayableCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts payable",
        "label": "Accounts Payable, Current",
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r673"
     ]
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsReceivableNetCurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts receivable trade, net",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current."
       }
      }
     },
     "auth_ref": [
      "r738"
     ]
    },
    "ctrm_AccruedCharterRevenueCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "AccruedCharterRevenueCurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accrued charter revenue earned but not yet received which were recognized in conformity with revenue recognition criteria based on estimates or specific contractual terms.",
        "label": "Accrued Charter Revenue, Current",
        "terseLabel": "Accrued charter revenue"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccruedLiabilitiesCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued liabilities",
        "label": "Accrued Liabilities, Current",
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedPeriodEndLabel": "Ending balance",
        "negatedPeriodStartLabel": "Beginning balance",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r155",
      "r472"
     ]
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationSaleOfPropertyPlantAndEquipment1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccumulatedDepreciationDepletionAndAmortizationSaleOfPropertyPlantAndEquipment1",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessel disposals",
        "label": "Accumulated Depreciation, Depletion and Amortization, Sale or Disposal of Property, Plant and Equipment",
        "documentation": "Amount of decrease in accumulated depreciation, depletion and amortization as a result of sale or disposal of property, plant and equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalPaidInCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AdditionalPaidInCapital",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional paid-in capital",
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock."
       }
      }
     },
     "auth_ref": [
      "r79",
      "r673",
      "r820"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional Paid-in Capital [Member]",
        "label": "Additional Paid-in Capital [Member]",
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders."
       }
      }
     },
     "auth_ref": [
      "r526",
      "r725",
      "r726",
      "r727",
      "r728",
      "r764",
      "r825"
     ]
    },
    "ctrm_AdjustmentsToAdditionalPaidInCapitalWarrantRepurchased": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "AdjustmentsToAdditionalPaidInCapitalWarrantRepurchased",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in additional paid in capital (APIC) resulting from the repurchase of warrants.",
        "label": "Adjustments to Additional Paid in Capital Warrant Repurchased",
        "negatedLabel": "Warrants repurchase (Note 10)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net income from Continuing operations to net cash provided by Operating Activities:"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AmendedCastorShipManagementAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "AmendedCastorShipManagementAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective July 1, 2022, the Company and each of the Company's vessel owning subsidiaries entered, by mutual consent, into an amended and restated master management agreement with Castor Ships (the \"Amended and Restated Master Management Agreement\"), appointing Castor Ships as commercial and technical manager for the Company's vessels. The Amended and Restated Master Management Agreement along with new ship management agreements signed between each vessel owning subsidiary and Castor Ships (together, the \"Amended Castor Ship Management Agreements\") superseded in their entirety the Castor Ships Management Agreements. Pursuant to the Amended and Restated Master Management Agreement, Castor Ships manages the Company's overall business and provides the Company's vessel owning subsidiaries with a wide range of shipping services such as crew management, technical management, operational employment management, insurance management, provisioning, bunkering, accounting and audit support services, commercial, chartering and administrative services, including, but not limited to, securing employment for the Company's fleet, arranging and supervising the vessels' commercial operations, providing technical assistance where requested in connection with the sale of a vessel, negotiating loan and credit terms for new financing upon request and providing general corporate and administrative services, among other matters, which it may choose to subcontract to other parties at its discretion.",
        "label": "Amended Castor Ship Management Agreements [Member]",
        "terseLabel": "Amended Castor Ship Management Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfAboveAndBelowMarketLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AmortizationOfAboveAndBelowMarketLeases",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization of fair value of acquired time charters",
        "verboseLabel": "Amortization of fair value of acquired charter",
        "label": "Amortization of above and below Market Leases",
        "documentation": "Amount of non-cash amortization of intangible asset (liability) for above and below market leases."
       }
      }
     },
     "auth_ref": [
      "r717"
     ]
    },
    "ctrm_AmortizationOfDebtIssuanceCostsAndWriteOffOfDeferredDebtIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "AmortizationOfDebtIssuanceCostsAndWriteOffOfDeferredDebtIssuanceCosts",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs and write-off of amounts previously capitalized as debt issuance cost in an extinguishment of debt.",
        "label": "Amortization of Debt Issuance Costs and Write-off of Deferred Debt Issuance Costs",
        "terseLabel": "Amortization and write-off of deferred finance charges"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_April7WarrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "April7WarrantsMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "'A registered direct offering of common shares and warrants with certain investors that closed on April 7, 2021, pursuant to which it offered and sold 19,230,770 common shares and warrants to purchase up to 19,230,770 common shares.",
        "label": "April 7 Warrants [Member]",
        "terseLabel": "April 7 Warrants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ArianaAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ArianaAMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 38,117 dwt.",
        "label": "Ariana A [Member]",
        "terseLabel": "M/V Ariana A [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Assets",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total assets",
        "totalLabel": "Total assets",
        "label": "Assets",
        "documentation": "Amount of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r120",
      "r134",
      "r156",
      "r182",
      "r221",
      "r230",
      "r248",
      "r252",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r378",
      "r382",
      "r411",
      "r463",
      "r561",
      "r640",
      "r641",
      "r673",
      "r702",
      "r756",
      "r757",
      "r774"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ASSETS",
        "verboseLabel": "Assets [Abstract]",
        "label": "Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsCurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total current assets",
        "label": "Assets, Current",
        "documentation": "Amount of asset recognized for present right to economic benefit, classified as current."
       }
      }
     },
     "auth_ref": [
      "r151",
      "r162",
      "r182",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r378",
      "r382",
      "r411",
      "r673",
      "r756",
      "r757",
      "r774"
     ]
    },
    "us-gaap_AssetsCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsCurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CURRENT ASSETS:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsHeldForSaleNotPartOfDisposalGroupCurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets held for sale",
        "documentation": "Amount of assets held-for-sale that are not part of a disposal group, expected to be sold within a year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r104",
      "r673"
     ]
    },
    "us-gaap_AssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total non-current assets",
        "label": "Assets, Noncurrent",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r182",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r378",
      "r382",
      "r411",
      "r756",
      "r757",
      "r774"
     ]
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsNoncurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NON-CURRENT ASSETS:",
        "label": "Assets, Noncurrent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AsterixShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "AsterixShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Asterix Shipping Co [Member]",
        "terseLabel": "Asterix Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AuditFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "AuditFees",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fees paid to an independent registered public accounting firm for professional services rendered for the audit of the consolidated financial statements and any other audit services required for the SEC or other regulatory filings.",
        "label": "Audit fees",
        "terseLabel": "Audit fees"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BagheeraShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "BagheeraShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Bagheera Shipping Co. [Member]",
        "terseLabel": "Bagheera Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BalanceSheetLocationAxis",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Location [Axis]",
        "documentation": "Information by location in statement of financial position where disaggregated cumulative balance has been reported."
       }
      }
     },
     "auth_ref": [
      "r280",
      "r788",
      "r789"
     ]
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BalanceSheetLocationDomain",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Location [Domain]",
        "documentation": "Location in statement of financial position where disaggregated cumulative balance has been reported."
       }
      }
     },
     "auth_ref": [
      "r41",
      "r42",
      "r280",
      "r788",
      "r789"
     ]
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Presentation",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS)."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BasisOfPresentationAndOrganizationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "BasisOfPresentationAndOrganizationAbstract",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and Organization [Abstract]",
        "terseLabel": "Basis of Presentation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BelowMarketLeaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BelowMarketLeaseAbstract",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value of Acquired Time Charters [Abstract]",
        "label": "Below Market Lease [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BistroMaritimeCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "BistroMaritimeCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Bistro Maritime Co. [Member]",
        "terseLabel": "Bistro Maritime Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BrokerageCommissions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "BrokerageCommissions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commissions paid to brokers for time-charter and voyage-charter arrangements.",
        "label": "Brokerage commissions",
        "terseLabel": "Brokerage commissions"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BrokerageCommissionsRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "BrokerageCommissionsRelatedParty",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commissions paid to related party for time-charter and voyage-charter arrangements.",
        "label": "Brokerage Commissions, Related Party",
        "terseLabel": "Brokerage commissions - related party",
        "verboseLabel": "Brokerage commissions"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BunkersConsumption": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "BunkersConsumption",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of bunkers (or energy) consumption related to fuel stored on a ship and used as fuel for machinery operation.",
        "label": "Bunkers consumption"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CapesizeVesselMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CapesizeVesselMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A large-sized dry bulk vessel.",
        "label": "Capesize Vessel [Member]",
        "terseLabel": "Capesize Vessel [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CapitalStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CapitalStockParOrStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of capital shares, including preferred and common stock.",
        "label": "Capital Stock, Par or Stated Value Per Share",
        "verboseLabel": "Capital shares, par value (in dollars per share)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CapitalStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CapitalStockSharesAuthorized",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of capital shares, including preferred and common stock, permitted to be issued by an entity's charter and bylaws.",
        "label": "Capital Stock, Shares Authorized",
        "terseLabel": "Capital shares, shares authorized (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CapitalizedContractCostAdjustmentToAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CapitalizedContractCostAdjustmentToAdditions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) to additions to asset recognized from cost incurred to obtain or fulfill contract with customer.",
        "label": "Capitalized Contract Cost, Adjustment to Additions",
        "terseLabel": "Adjustment to additions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedContractCostAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CapitalizedContractCostAmortization",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Amortization",
        "label": "Capitalized Contract Cost, Amortization",
        "documentation": "Amount of amortization expense for asset recognized from cost incurred to obtain or fulfill contract with customer."
       }
      }
     },
     "auth_ref": [
      "r266"
     ]
    },
    "ctrm_CapitalizedContractCostDisposalsAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CapitalizedContractCostDisposalsAsset",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of disposals for asset recognized from cost incurred to obtain or fulfill contract with customer.",
        "label": "Capitalized Contract Cost, Disposals Asset",
        "negatedLabel": "Disposals (Note 7(b))"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedContractCostNetNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CapitalizedContractCostNetNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred charges, net",
        "periodStartLabel": "Balance at beginning of period",
        "periodEndLabel": "Balance at end of period",
        "label": "Capitalized Contract Cost, Net, Noncurrent",
        "documentation": "Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as noncurrent."
       }
      }
     },
     "auth_ref": [
      "r265"
     ]
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cash and cash equivalents",
        "periodEndLabel": "Cash and cash equivalents",
        "terseLabel": "Cash and cash equivalents",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r20",
      "r153",
      "r628"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r20",
      "r98",
      "r179"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net (decrease)/increase in cash, cash equivalents, and restricted cash",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r98"
     ]
    },
    "us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash used in Financing Activities from discontinued operations",
        "documentation": "Amount of cash inflow (outflow) of financing activities of discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit."
       }
      }
     },
     "auth_ref": [
      "r98"
     ]
    },
    "us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash used in Investing Activities from discontinued operations",
        "documentation": "Amount of cash inflow (outflow) of investing activities of discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r98"
     ]
    },
    "us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash provided by Operating Activities from discontinued operations",
        "documentation": "Amount of cash inflow (outflow) of operating activities of discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r98"
     ]
    },
    "ctrm_CastorMaritimeScrCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CastorMaritimeScrCorpMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands. This entity serves as the Company's vessel owning subsidiaries' cash manager with effect from November 1, 2021.",
        "label": "Castor Maritime SCR Corp. [Member]",
        "terseLabel": "Castor Maritime SCR Corp. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CastorShipManagementAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CastorShipManagementAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "During the period from September 1, 2020 (being the initial Castor Ships Management Agreements effective date), and up to June 30, 2022, pursuant to the terms and conditions stipulated in a master management agreement (the \"Master Management Agreement\") and separate commercial ship management agreements (the \"Ship Management Agreements\") with Castor Ships (together, the \"Castor Ships Management Agreements\"), Castor Ships managed the Company's business and provided commercial ship management, chartering and administrative services to the Company and its vessel owning subsidiaries.",
        "label": "Castor Ship Management Agreements [Member]",
        "terseLabel": "Castor Ship Management Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CastorShipsSAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CastorShipsSAMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A company ultimately beneficially owned by the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Castor Ships S.A. [Member]",
        "terseLabel": "Castor Ships [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CinderellaShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CinderellaShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Cinderella Shipping Co. [Member]",
        "terseLabel": "Cinderella Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ClassAWarrantMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ClassAWarrantMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class A security that gives the holder the right to purchase one share of common stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Class A Warrant [Member]",
        "terseLabel": "Class A Warrant [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfStockDisclosuresAbstract",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Subsequent Events [Abstract]",
        "label": "Class of Stock Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfStockDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Domain]",
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock."
       }
      }
     },
     "auth_ref": [
      "r144",
      "r158",
      "r159",
      "r160",
      "r182",
      "r206",
      "r207",
      "r214",
      "r216",
      "r224",
      "r225",
      "r262",
      "r292",
      "r295",
      "r296",
      "r297",
      "r301",
      "r302",
      "r324",
      "r325",
      "r329",
      "r332",
      "r339",
      "r411",
      "r517",
      "r518",
      "r519",
      "r520",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r549",
      "r572",
      "r595",
      "r615",
      "r616",
      "r617",
      "r618",
      "r619",
      "r704",
      "r719",
      "r729"
     ]
    },
    "us-gaap_ClassOfStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfStockLineItems",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r158",
      "r159",
      "r160",
      "r224",
      "r324",
      "r325",
      "r327",
      "r329",
      "r332",
      "r337",
      "r339",
      "r517",
      "r518",
      "r519",
      "r520",
      "r653",
      "r704",
      "r719"
     ]
    },
    "us-gaap_ClassOfWarrantOrRightAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightAxis",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Warrant or Right [Axis]",
        "documentation": "Information by type of warrant or right issued."
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "us-gaap_ClassOfWarrantOrRightDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightDomain",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Warrant or Right [Domain]",
        "documentation": "Name of the class or type of warrant or right outstanding. Warrants and rights represent derivative securities that give the holder the right to purchase securities (usually equity) from the issuer at a specific price within a certain time frame. Warrants are often included in a new debt issue to entice investors by a higher return potential. The main difference between warrants and call options is that warrants are issued and guaranteed by the company, whereas options are exchange instruments and are not issued by the company. Also, the lifetime of a warrant is often measured in years, while the lifetime of a typical option is measured in months."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrant exercise price (in dollars per share)",
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding."
       }
      }
     },
     "auth_ref": [
      "r340"
     ]
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of securities called by warrants (in shares)",
        "documentation": "Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares."
       }
      }
     },
     "auth_ref": [
      "r340"
     ]
    },
    "ctrm_ClassOfWarrantOrRightRepurchases": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ClassOfWarrantOrRightRepurchases",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights repurchased.",
        "label": "Class of Warrant or Right, Repurchases",
        "terseLabel": "Repurchase of warrants in tender offer (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ClassOfWarrantOrRightTenderOfferPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ClassOfWarrantOrRightTenderOfferPrice",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price to be paid per share or per unit of warrants or rights under a tender offer.",
        "label": "Class of Warrant or Right, Tender Offer Price",
        "terseLabel": "Tender offer price per share (in dollars per share)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ColossusShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ColossusShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Colossus Shipping Co. [Member]",
        "terseLabel": "Colossus Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and contingencies",
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r123",
      "r465",
      "r548"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments and Contingencies",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r108",
      "r284",
      "r285",
      "r621",
      "r744",
      "r749"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockMember",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common Shares [Member]",
        "label": "Common Stock [Member]",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r692",
      "r693",
      "r694",
      "r696",
      "r697",
      "r698",
      "r699",
      "r725",
      "r726",
      "r728",
      "r764",
      "r819",
      "r825"
     ]
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common shares, par value (in dollars per share)",
        "label": "Common Stock, Par or Stated Value Per Share",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common shares, shares authorized (in shares)",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r549"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common shares, shares issued (in shares)",
        "label": "Common Stock, Shares, Issued",
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common shares, shares outstanding (in shares)",
        "verboseLabel": "Number of outstanding common shares (in shares)",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r78",
      "r549",
      "r567",
      "r825",
      "r826"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common shares, $0.001 par value; 1,950,000,000 shares authorized; 9,662,354 issued and outstanding as of December 31, 2023 and June 30, 2024",
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r467",
      "r673"
     ]
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ComprehensiveIncomeNetOfTax",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Comprehensive income",
        "verboseLabel": "Comprehensive income",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners."
       }
      }
     },
     "auth_ref": [
      "r17",
      "r164",
      "r166",
      "r171",
      "r458",
      "r479",
      "r480"
     ]
    },
    "ctrm_ConsecutiveTradingDayPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ConsecutiveTradingDayPeriod",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consecutive trading day period, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Consecutive Trading Day Period",
        "terseLabel": "Consecutive trading day period"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ConsolidatedEntitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ConsolidatedEntitiesAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "auth_ref": [
      "r187",
      "r378",
      "r379",
      "r382",
      "r383",
      "r440",
      "r622",
      "r755",
      "r758",
      "r759"
     ]
    },
    "srt_ConsolidatedEntitiesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ConsolidatedEntitiesDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "auth_ref": [
      "r187",
      "r378",
      "r379",
      "r382",
      "r383",
      "r440",
      "r622",
      "r755",
      "r758",
      "r759"
     ]
    },
    "ctrm_ConsolidatedSubsidiariesFormedToAcquireVesselsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ConsolidatedSubsidiariesFormedToAcquireVesselsTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries formed to acquire vessels.",
        "label": "Consolidated Subsidiaries Formed to Acquire Vessels [Table Text Block]",
        "terseLabel": "Consolidated Subsidiaries Formed to Acquire Vessels"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ConsolidationItemsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ConsolidationItemsAxis",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]"
       }
      }
     },
     "auth_ref": [
      "r132",
      "r187",
      "r221",
      "r232",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r252",
      "r253",
      "r254",
      "r292",
      "r293",
      "r294",
      "r295",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r640",
      "r641",
      "r756",
      "r757"
     ]
    },
    "srt_ConsolidationItemsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ConsolidationItemsDomain",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]"
       }
      }
     },
     "auth_ref": [
      "r132",
      "r187",
      "r221",
      "r232",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r252",
      "r253",
      "r254",
      "r292",
      "r293",
      "r294",
      "r295",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r640",
      "r641",
      "r756",
      "r757"
     ]
    },
    "ctrm_ContaincoShippingIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ContaincoShippingIncMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Containco Shipping Inc [Member]",
        "terseLabel": "Containco Shipping Inc. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ContainerShipSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ContainerShipSegmentMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provides transportation of containerized goods.",
        "label": "Container Ship Segment [Member]",
        "verboseLabel": "Container Ship Segment [Member]",
        "terseLabel": "Containership Segment [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ContainershipsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ContainershipsMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Containerships having a capacity of 2,700 TEU (Twenty-foot Equivalent Units).",
        "label": "Containerships [Member]",
        "terseLabel": "Containerships [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContractWithCustomerLiabilityCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractWithCustomerLiabilityCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred revenue",
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current."
       }
      }
     },
     "auth_ref": [
      "r342",
      "r343",
      "r353"
     ]
    },
    "us-gaap_CorporateNonSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CorporateNonSegmentMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Corporate [Member]",
        "documentation": "Corporate headquarters or functional department that may not earn revenues or may earn revenues that are only incidental to the activities of the entity and is not considered an operating segment."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r247",
      "r248",
      "r249",
      "r250",
      "r253",
      "r734"
     ]
    },
    "us-gaap_CostsAndExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostsAndExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Total expenses, net",
        "label": "Costs and Expenses",
        "documentation": "Total costs of sales and operating expenses for the period."
       }
      }
     },
     "auth_ref": [
      "r93"
     ]
    },
    "us-gaap_CostsAndExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostsAndExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EXPENSES:",
        "label": "Costs and Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CounterSecurityPayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "CounterSecurityPayment",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Counter-security paid to the Korean courts for the purpose of lifting the arrest of a vessel.",
        "label": "Counter-Security Payment",
        "terseLabel": "Counter-security payment"
       }
      }
     },
     "auth_ref": []
    },
    "srt_CounterpartyNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "CounterpartyNameAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]"
       }
      }
     },
     "auth_ref": [
      "r185",
      "r186",
      "r306",
      "r327",
      "r438",
      "r446",
      "r462",
      "r631",
      "r633"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Axis]",
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r69",
      "r70",
      "r121",
      "r122",
      "r187",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r672",
      "r720",
      "r745",
      "r746",
      "r747",
      "r770",
      "r771"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Margin on variable rate",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentCarryingAmount",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total long-term debt",
        "verboseLabel": "Long-term debt",
        "label": "Long-Term Debt, Gross",
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r122",
      "r320"
     ]
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Face amount",
        "label": "Face amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r303",
      "r423",
      "r424",
      "r649",
      "r650",
      "r672"
     ]
    },
    "us-gaap_DebtInstrumentFrequencyOfPeriodicPayment": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentFrequencyOfPeriodicPayment",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Frequency of periodic payment",
        "documentation": "Description of the frequency of periodic payments (monthly, quarterly, annual)."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r47"
     ]
    },
    "us-gaap_DebtInstrumentIssuer": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentIssuer",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Borrowers",
        "label": "Debt Instrument, Issuer",
        "documentation": "Identification of the contractual issuer of the debt instrument (for example, a subsidiary of the reporting entity)."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r35"
     ]
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r672",
      "r720",
      "r770",
      "r771"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Name [Domain]",
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r187",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r672",
      "r720",
      "r745",
      "r746",
      "r747",
      "r770",
      "r771"
     ]
    },
    "ctrm_DebtInstrumentNumberOfPaymentInstallments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DebtInstrumentNumberOfPaymentInstallments",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of periodic payment installments in which the debt is to be repaid.",
        "label": "Debt Instrument, Number of Payment Installments",
        "terseLabel": "Number of payment installments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentPeriodicPayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentPeriodicPayment",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installment payment",
        "label": "Debt Instrument, Periodic Payment",
        "documentation": "Amount of the required periodic payments including both interest and principal payments."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r47"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentRedemptionPeriodAxis",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption, Period [Axis]",
        "documentation": "Information by period of debt redemption feature under terms of debt agreement."
       }
      }
     },
     "auth_ref": [
      "r130"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentRedemptionPeriodDomain",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption, Period [Domain]",
        "documentation": "Period as defined under terms of the debt agreement for debt redemption features."
       }
      }
     },
     "auth_ref": [
      "r130"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentRedemptionPeriodOneMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Installments 1 to 3 [Member]",
        "documentation": "Period one representing most current period of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r130"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentRedemptionPeriodThreeMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Installments 10 [Member]",
        "documentation": "Period three representing third most current period of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r130"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentRedemptionPeriodTwoMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Installments 4 to 9 [Member]",
        "documentation": "Period two representing second most current period of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r130"
     ]
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Long-term Debt Instruments [Table]",
        "terseLabel": "Schedule of Long-Term Debt Instruments [Table]",
        "documentation": "Disclosure of information about long-term debt instrument or arrangement."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r35",
      "r38",
      "r46",
      "r113",
      "r114",
      "r187",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r672",
      "r720",
      "r770",
      "r771"
     ]
    },
    "us-gaap_DebtInstrumentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentsAbstract",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt [Abstract]",
        "verboseLabel": "Loan Facilities [Abstract]",
        "label": "Debt Instruments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtRelatedToAssetsHeldForSaleCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DebtRelatedToAssetsHeldForSaleCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt related to assets held for sale, classified as current.",
        "label": "Debt Related to Assets Held for Sale, Current",
        "totalLabel": "Debt related to assets held for sale, net of deferred finance costs",
        "terseLabel": "Debt related to assets held for sale, net"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtRelatedToAssetsHeldForSaleDeferredFinanceCostsCurrentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DebtRelatedToAssetsHeldForSaleDeferredFinanceCostsCurrentNet",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs classified as current related to debt related to assets held for sale.",
        "label": "Debt Related to Assets Held for Sale, Deferred Finance Costs, Current, Net",
        "negatedLabel": "Less: Current portion of deferred finance costs"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtRelatedToAssetsHeldForSaleGrossCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DebtRelatedToAssetsHeldForSaleGrossCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before deduction of unamortized premium (discount) and debt issuance cost, of long-term debt related to assets held for sale, classified as current.",
        "label": "Debt Related to Assets Held for Sale, Gross, Current",
        "terseLabel": "Debt related to assets held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecuritiesTradingAndEquitySecuritiesFvNiAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtSecuritiesTradingAndEquitySecuritiesFvNiAbstract",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Securities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtWeightedAverageInterestRate",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average interest rate",
        "label": "Debt, Weighted Average Interest Rate",
        "documentation": "Weighted average interest rate of debt outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Charges, net [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred Dry-Docking Costs, net",
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Table Text Block]",
        "documentation": "Tabular disclosure of the amounts paid in advance for capitalized costs that will be expensed with the passage of time or the occurrence of a triggering event, and will be charged against earnings within one year or the normal operating cycle, if longer; the aggregate carrying amount of current assets, not separately presented elsewhere in the balance sheet; and other deferred costs."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredFinanceCostsCurrentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredFinanceCostsCurrentNet",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Less: Current portion of deferred finance costs",
        "label": "Debt Issuance Costs, Current, Net",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs classified as current. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r769",
      "r770",
      "r771"
     ]
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredFinanceCostsNet",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Less: Deferred financing costs",
        "label": "Debt Issuance Costs, Net",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r761",
      "r769",
      "r770",
      "r771"
     ]
    },
    "us-gaap_DeferredFinanceCostsNoncurrentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredFinanceCostsNoncurrentNet",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Less: Non-Current portion of deferred finance costs",
        "label": "Debt Issuance Costs, Noncurrent, Net",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r769",
      "r770",
      "r771"
     ]
    },
    "us-gaap_Depreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Depreciation",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Period depreciation",
        "label": "Depreciation",
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r30"
     ]
    },
    "ctrm_DepreciationAndAmortizationOfDeferredDryDockingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DepreciationAndAmortizationOfDeferredDryDockingCosts",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "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",
        "verboseLabel": "Depreciation and amortization"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DepreciationDepletionAndAmortization",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Depreciation and amortization",
        "label": "Depreciation, Depletion and Amortization",
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r221",
      "r235",
      "r252",
      "r640",
      "r641"
     ]
    },
    "us-gaap_DisaggregationOfRevenueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisaggregationOfRevenueAbstract",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisaggregationOfRevenueLineItems",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r352",
      "r654",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r660"
     ]
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisaggregationOfRevenueTable",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Table]",
        "documentation": "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor."
       }
      }
     },
     "auth_ref": [
      "r352",
      "r654",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r660"
     ]
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessel Revenues",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor."
       }
      }
     },
     "auth_ref": [
      "r763"
     ]
    },
    "us-gaap_DisclosureOfLongLivedAssetsHeldForSaleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisclosureOfLongLivedAssetsHeldForSaleTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets Held for Sale",
        "label": "Disclosure of Long-Lived Assets Held-for-Sale [Table Text Block]",
        "documentation": "Tabular disclosure of long lived assets held for sale. Disclosure may include the description of the facts and circumstances leading to the expected disposal, manner and timing of disposal, the carrying value of the assets held for sale, the gain (loss) recognized in the income statement and the income statement caption that includes that gain (loss)."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net income and comprehensive income from discontinued operations, before taxes",
        "totalLabel": "Net income and comprehensive income from discontinued operations, before taxes",
        "documentation": "Amount before tax of income (loss) from a discontinued operation. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r52",
      "r53",
      "r54",
      "r55",
      "r61",
      "r86",
      "r785"
     ]
    },
    "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, basic, discontinued operations (in dollars per share)",
        "documentation": "Per basic share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, diluted, discontinued operations (in dollars per share)",
        "documentation": "Per diluted share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DiscontinuedOperationTaxEffectOfDiscontinuedOperation",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Income taxes",
        "label": "Discontinued Operation, Tax Effect of Discontinued Operation",
        "documentation": "Amount of tax expense (benefit) related to a discontinued operation. Includes, but is not limited to, tax expense (benefit) related to income (loss) from operations during the phase-out period, tax expense (benefit) related to gain (loss) on disposal, tax expense (benefit) related to gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and tax expense (benefit) related to adjustments of a prior period gain (loss) on disposal."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r53",
      "r54",
      "r55",
      "r61",
      "r65",
      "r363",
      "r367",
      "r368"
     ]
    },
    "us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DiscontinuedOperationsAndDisposalGroupsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued operations [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupClassificationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupClassificationAxis",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group Classification [Axis]",
        "documentation": "Information by disposal group classification."
       }
      }
     },
     "auth_ref": [
      "r149"
     ]
    },
    "us-gaap_DisposalGroupClassificationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupClassificationDomain",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group Classification [Domain]",
        "documentation": "Component or group of components disposed of, including but not limited to, disposal group held-for-sale or disposed of by sale, disposed of by means other than sale, and discontinued operations."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Depreciation and amortization",
        "label": "Disposal Group, Including Discontinued Operation, Depreciation and Amortization",
        "documentation": "Amount of depreciation and amortization expense attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group, Including Discontinued Operation, Expenses [Abstract]",
        "terseLabel": "EXPENSES [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationForeignCurrencyTranslationGainsLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupIncludingDiscontinuedOperationForeignCurrencyTranslationGainsLosses",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign exchange losses",
        "documentation": "Amount of foreign currency translation gain (loss) in the disposal group, including discontinued operation, recognized in the statement of income as a result of the sale or complete or substantially complete liquidation of an investment in a foreign entity."
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupIncludingDiscontinuedOperationInterestExpense",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Interest and finance costs",
        "label": "Disposal Group, Including Discontinued Operation, Interest Expense",
        "documentation": "Amount of interest expense attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r14",
      "r16",
      "r62"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupIncludingDiscontinuedOperationInterestIncome",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest income",
        "label": "Disposal Group, Including Discontinued Operation, Interest Income",
        "documentation": "Amount of interest income attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOperatingExpense",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Total expenses",
        "label": "Disposal Group, Including Discontinued Operation, Operating Expense",
        "documentation": "Amount of operating expense attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Operating income",
        "label": "Disposal Group, Including Discontinued Operation, Operating Income (Loss)",
        "documentation": "Amount of operating income (loss) attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r62"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherExpensesIncomeNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOtherExpensesIncomeNet",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other (expenses) and income, net attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Other (Expenses)/ Income, Net",
        "totalLabel": "Total other income, net"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group, Including Discontinued Operation, Other Income Expenses [Abstract]",
        "terseLabel": "OTHER INCOME [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationRecoveryOfProvisionForDoubtfulAccounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRecoveryOfProvisionForDoubtfulAccounts",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recovery of provision for doubtful accounts attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Recovery of Provision for Doubtful Accounts",
        "negatedLabel": "Recovery of provision for doubtful accounts"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationRelatedPartyTransactionManagementFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRelatedPartyTransactionManagementFees",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of related party transaction management fees attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Related Party Transaction Management Fees",
        "negatedLabel": "Management fees to related parties"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRevenue",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessel revenues",
        "documentation": "Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r62",
      "r150"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationRevenueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRevenueAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group, Including Discontinued Operation, Revenue [Abstract]",
        "terseLabel": "REVENUES [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationVesselOperatingExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationVesselOperatingExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of voyage operating expense attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Vessel Operating Expenses",
        "negatedLabel": "Vessel operating expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationVoyageExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationVoyageExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of voyage expense attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Voyage Expenses",
        "negatedLabel": "Voyage expenses (including $294,831 to related party for the period January 1, 2023 through March 7, 2023)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationVoyageExpensesToRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DisposalGroupIncludingDiscontinuedOperationVoyageExpensesToRelatedParty",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of voyage expenses to related party expense attributable to disposal group, including, but not limited to, discontinued operation",
        "label": "Disposal Group, Including Discontinued Operation, Voyage Expenses to Related Party",
        "terseLabel": "Voyage expenses, related party"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operation, Comprehensive Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperations"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued operations",
        "documentation": "The entire disclosure related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r103"
     ]
    },
    "ctrm_DividendMultiplierFactor": {
     "xbrltype": "pureItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DividendMultiplierFactor",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage multiplier factor applied to the prior quarterly dividend period for each dividend period commencing on or after the reset date, the seventh anniversary.",
        "label": "Dividend Multiplier Factor",
        "terseLabel": "Dividend multiplier factor"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend payable, date to be paid",
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "us-gaap_DividendsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DividendsAxis",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends [Axis]",
        "documentation": "Information by distribution of earnings to shareholder. Includes, but is not limited to, distribution paid and declared."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DividendsDomain",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends [Domain]",
        "documentation": "Distributions of earnings to shareholders including but not limited to cash, property or capital stock."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DividendsPayableCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued dividends",
        "terseLabel": "Dividend payable",
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "us-gaap_DividendsPayableDateDeclaredDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DividendsPayableDateDeclaredDayMonthAndYear",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend payable, date declared",
        "documentation": "Date the dividend to be paid was declared, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "us-gaap_DividendsPreferredStockCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DividendsPreferredStockCash",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividend on Series D Preferred Shares",
        "label": "Dividends, Preferred Stock, Cash",
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r115"
     ]
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentType",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DraxShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DraxShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Drax Shipping Co [Member]",
        "terseLabel": "Drax Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DryBulkCarrierMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DryBulkCarrierMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A vessel designed to carry dry cargoes in bulk.",
        "label": "Dry Bulk Carrier [Member]",
        "verboseLabel": "Dry Bulk Vessels [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DryBulkSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "DryBulkSegmentMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provides dry bulk commodities transportation services.",
        "label": "Dry Bulk Segment [Member]",
        "terseLabel": "Dry Bulk Segment [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EagleBulkShippingIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "EagleBulkShippingIncMember",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subsidiary entity.",
        "label": "Eagle Bulk Shipping Inc [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Common Share [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, basic, total (in dollars per share)",
        "terseLabel": "Earnings per common share, basic, Total (in dollars per share)",
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r172",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r203",
      "r206",
      "r214",
      "r215",
      "r216",
      "r220",
      "r373",
      "r376",
      "r392",
      "r393",
      "r459",
      "r481",
      "r634"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, diluted, total (in dollars per share)",
        "terseLabel": "Earnings per common share, diluted, Total (in dollars per share)",
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r172",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r206",
      "r214",
      "r215",
      "r216",
      "r220",
      "r373",
      "r376",
      "r392",
      "r393",
      "r459",
      "r481",
      "r634"
     ]
    },
    "us-gaap_EarningsPerShareDilutedLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareDilutedLineItems",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings Per Share [Line Items]",
        "label": "Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r206",
      "r207",
      "r214"
     ]
    },
    "us-gaap_EarningsPerShareDilutedOtherDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareDilutedOtherDisclosuresAbstract",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings Per Share [Abstract]",
        "label": "Earnings Per Share, Diluted, Other Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShare"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Common Share",
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r202",
      "r217",
      "r218",
      "r219"
     ]
    },
    "ctrm_ElektraShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ElektraShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Elektra Shipping Co. [Member]",
        "terseLabel": "Elektra Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EntitiesComprisingDiscontinuedOperationsAsPartOfSpinOffTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "EntitiesComprisingDiscontinuedOperationsAsPartOfSpinOffTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries entities comprising the discontinued operations as part of the spin-off.",
        "label": "Entities Comprising Discontinued Operations as Part of Spin-off [Table Text Block]",
        "terseLabel": "Entities Comprising Discontinued Operations as Part of Spin-Off"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EntityAffiliatedWithFamilyMemberOfPetrosPanagiotidisMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "EntityAffiliatedWithFamilyMemberOfPetrosPanagiotidisMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity affiliated with a family member of Petros Panagiotidis, the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Entity Affiliated with Family Member of Petros Panagiotidis [Member]",
        "terseLabel": "Entity Affiliated with Family Member of Petros Panagiotidis [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EntityBeneficiallyOwnedByFamilyMemberOfPetrosPanagiotidisMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "EntityBeneficiallyOwnedByFamilyMemberOfPetrosPanagiotidisMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity beneficially owned by family member of Petros Panagiotidis, the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Entity Beneficially Owned by Family Member of Petros Panagiotidis [Member]",
        "terseLabel": "Entity Beneficially Owned by Family Member of Petros Panagiotidis [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r703"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Country of incorporation",
        "label": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r703"
     ]
    },
    "us-gaap_EquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Capital Structure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Component [Domain]",
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r147",
      "r167",
      "r168",
      "r169",
      "r188",
      "r189",
      "r190",
      "r192",
      "r197",
      "r199",
      "r201",
      "r223",
      "r263",
      "r264",
      "r277",
      "r341",
      "r365",
      "r366",
      "r370",
      "r371",
      "r372",
      "r374",
      "r375",
      "r376",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r391",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r425",
      "r426",
      "r431",
      "r478",
      "r508",
      "r509",
      "r510",
      "r526",
      "r595"
     ]
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeAxis",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Method Investment, Nonconsolidated Investee [Axis]",
        "documentation": "Information by nonconsolidated equity method investee. Excludes information consolidated by reporting entity."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r182",
      "r262",
      "r411",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685"
     ]
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeDomain",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Method Investment, Nonconsolidated Investee [Domain]",
        "documentation": "Nonconsolidated equity method investee. Excludes information consolidated by reporting entity."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r182",
      "r262",
      "r411",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685"
     ]
    },
    "ctrm_EquityMethodInvestmentNumberOfSharesReceivedInMerger": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "EquityMethodInvestmentNumberOfSharesReceivedInMerger",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of Star Bulk common stock each shareholder of Eagle Bulk Shipping Inc. (Eagle) received for each share of Eagle common stock owned.",
        "label": "Equity Method Investment, Number of Shares Received in Merger",
        "terseLabel": "Number of shares of Star Bulk common stock received for each share of Eagle common stock owned (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of shares held",
        "label": "Equity Ownership, Excluding Consolidated Entity and Equity Method Investee, Percentage",
        "documentation": "Percentage of ownership of equity interest excluding interest in entity that is consolidated and equity method investee."
       }
      }
     },
     "auth_ref": [
      "r705"
     ]
    },
    "ctrm_EquitySecuritiesFVNIRealizedGainLossIncludingRealizedForeignExchangeGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "EquitySecuritiesFVNIRealizedGainLossIncludingRealizedForeignExchangeGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), including amount, before tax, of realized gain (loss) from foreign currency transaction.",
        "label": "Equity Securities, FV-NI, Realized Gain (Loss), Including Realized Foreign Exchange Gain (Loss)",
        "negatedLabel": "Realized gain on sale of equity securities"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EquitySecuritiesFVNIUnrealizedGainLossIncludingUnrealizedForeignExchangeGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "EquitySecuritiesFVNIUnrealizedGainLossIncludingUnrealizedForeignExchangeGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), including amount, before tax, of unrealized gain (loss) from foreign currency transaction.",
        "label": "Equity Securities, FV-NI, Unrealized Gain (Loss), Including Unrealized Foreign Exchange Gain (Loss)",
        "negatedLabel": "Unrealized loss / (gain) on equity securities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquitySecuritiesFvNi": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquitySecuritiesFvNi",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Investment in equity securities",
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current."
       }
      }
     },
     "auth_ref": [
      "r157",
      "r410",
      "r630"
     ]
    },
    "us-gaap_EquitySecuritiesFvNiGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquitySecuritiesFvNiGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "(Loss) / Gain on equity securities",
        "verboseLabel": "(Loss) / Gain on equity securities",
        "documentation": "Amount of unrealized and realized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r483",
      "r739"
     ]
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquitySecuritiesFvNiRealizedGain",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Gain on sale of equity securities",
        "label": "Equity Securities, FV-NI, Realized Gain",
        "documentation": "Amount of realized gain from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r739"
     ]
    },
    "us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquitySecuritiesFvNiUnrealizedGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unrealized gain on equity securities revalued at fair value at end of the period",
        "label": "Equity Securities, FV-NI, Unrealized Gain (Loss)",
        "documentation": "Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r482",
      "r739"
     ]
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments and Fair Value Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://castormaritime.com/role/FinancialInstrumentsAndFairValueDisclosures"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Financial Instruments and Fair Value Disclosures",
        "label": "Fair Value Disclosures [Text Block]",
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information."
       }
      }
     },
     "auth_ref": [
      "r396",
      "r398",
      "r399",
      "r400",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r457",
      "r665",
      "r669"
     ]
    },
    "ctrm_FiniteLivedIntangibleAssetOffMarketLeaseFavorableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "FiniteLivedIntangibleAssetOffMarketLeaseFavorableNet",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated amortization of the identifiable intangible asset established upon acquisition based on a favorable difference between the terms of an acquired lease and the current market terms for that lease at the acquisition date.",
        "label": "Finite Lived Intangible Asset Off Market Lease Favorable, Net",
        "terseLabel": "Fair value of acquired time charters"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ForeignCurrencyTransactionGainLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ForeignCurrencyTransactionGainLossBeforeTax",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Foreign exchange losses",
        "terseLabel": "Foreign exchange losses",
        "label": "Gain (Loss), Foreign Currency Transaction, before Tax",
        "documentation": "Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction."
       }
      }
     },
     "auth_ref": [
      "r412",
      "r413",
      "r414",
      "r415",
      "r592"
     ]
    },
    "us-gaap_ForeignCurrencyTransactionGainLossRealized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ForeignCurrencyTransactionGainLossRealized",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized foreign exchange loss",
        "label": "Realized Gain (Loss), Foreign Currency Transaction, before Tax",
        "documentation": "Amount, before tax, of realized gain (loss) from foreign currency transaction."
       }
      }
     },
     "auth_ref": [
      "r569",
      "r700",
      "r767",
      "r768",
      "r823"
     ]
    },
    "us-gaap_ForeignCurrencyTransactionGainLossUnrealized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ForeignCurrencyTransactionGainLossUnrealized",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unrealized foreign exchange loss",
        "label": "Unrealized Gain (Loss), Foreign Currency Transaction, before Tax",
        "documentation": "Amount, before tax, of unrealized gain (loss) from foreign currency transaction."
       }
      }
     },
     "auth_ref": [
      "r100",
      "r570",
      "r700",
      "r767",
      "r768",
      "r824"
     ]
    },
    "ctrm_FundingPeriodForAdvanceToCoverVesselDailyOperatingCosts": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "FundingPeriodForAdvanceToCoverVesselDailyOperatingCosts",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Funding period for an advance to cover vessel daily operating costs, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Funding Period for Advance to Cover Vessel Daily Operating Costs",
        "terseLabel": "Funding period for advance to cover vessel daily operating costs"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GabrielaAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "GabrielaAMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 38,121 dwt.",
        "label": "Gabriela A [Member]",
        "terseLabel": "M/V Gabriela A [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnDispositionOfAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GainLossOnDispositionOfAssets",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gain of sale of vessel",
        "label": "Gain on sale of vessels",
        "negatedLabel": "Gain on sale of vessels",
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, excluding oil and gas property and timber property."
       }
      }
     },
     "auth_ref": [
      "r717",
      "r741",
      "r742"
     ]
    },
    "ctrm_GainLossOnSaleOfPropertyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "GainLossOnSaleOfPropertyMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "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]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GainLossOnSaleOfPropertyPlantEquipmentAbstract",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets Held for Sale/ Disposal of Vessels [Abstract]",
        "label": "Gain (Loss) on Disposition of Property Plant Equipment [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossRelatedToLitigationSettlement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GainLossRelatedToLitigationSettlement",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain from a claim",
        "negatedLabel": "Gain from a claim",
        "documentation": "Amount of gain (loss) recognized in settlement of litigation and insurance claims. Excludes claims within an insurance entity's normal claims settlement process."
       }
      }
     },
     "auth_ref": [
      "r640",
      "r750"
     ]
    },
    "ctrm_GamoraShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "GamoraShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Gamora Shipping Co. [Member]",
        "terseLabel": "Gamora Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GarfieldShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "GarfieldShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Garfield Shipping Co [Member]",
        "terseLabel": "Garfield Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GeneralAndAdministrativeExpense",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "General and administrative expenses",
        "negatedTerseLabel": "Less: Unallocated corporate general and administrative expenses",
        "negatedLabel": "General and administrative expenses (including $1,500,000, and $1,599,000 to related party for the six months ended June 30, 2023, and 2024, respectively)",
        "label": "General and administrative expenses",
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line."
       }
      }
     },
     "auth_ref": [
      "r89",
      "r574"
     ]
    },
    "us-gaap_GeneralAndAdministrativeExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GeneralAndAdministrativeExpenseAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "General and Administrative Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GeneralAndAdministrativeExpenseMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General and Administrative Expenses [Member]",
        "documentation": "Primary financial statement caption encompassing general and administrative expense."
       }
      }
     },
     "auth_ref": [
      "r89"
     ]
    },
    "ctrm_GeneralAndAdministrativeExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "GeneralAndAdministrativeExpensesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of general and administrative expenses related to company administration.",
        "label": "General and Administrative Expenses [Table Text Block]",
        "terseLabel": "General and Administrative Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GeneralAndAdministrativeExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "GeneralAndAdministrativeExpensesTextBlock",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for general and administrative expenses.",
        "label": "General and Administrative Expenses [Text Block]",
        "terseLabel": "General and Administrative Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralInsuranceExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GeneralInsuranceExpense",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Insurances",
        "label": "General Insurance Expense",
        "documentation": "The expense in the period incurred with respect to protection provided by insurance entities against risks other than risks associated with production (which are allocated to cost of sales)."
       }
      }
     },
     "auth_ref": [
      "r89"
     ]
    },
    "ctrm_HawkeyeShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "HawkeyeShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Hawkeye Shipping Co. [Member]",
        "terseLabel": "Hawkeye Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Impairment charges",
        "label": "Impairment of Long-Lived Assets to be Disposed of",
        "documentation": "The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r105",
      "r666"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net income and comprehensive income from continuing operations, before taxes",
        "totalLabel": "Net income and comprehensive income from continuing operations, before taxes",
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r125",
      "r133",
      "r460",
      "r474",
      "r635",
      "r640",
      "r731",
      "r733",
      "r735",
      "r736",
      "r737"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income and comprehensive income from continuing operations, net of taxes",
        "terseLabel": "Net income from continuing operations, net of taxes",
        "label": "Net income and comprehensive income from continuing operations, net of taxes",
        "documentation": "Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r118",
      "r133",
      "r182",
      "r191",
      "r197",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r373",
      "r376",
      "r393",
      "r411",
      "r474",
      "r635",
      "r731",
      "r733",
      "r735",
      "r736",
      "r737",
      "r756"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerBasicShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsPerBasicShare",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, basic, continuing operations (in dollars per share)",
        "terseLabel": "Earnings per common share, basic, continuing operations (in dollars per share)",
        "documentation": "The amount of net income (loss) from continuing operations per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r126",
      "r172",
      "r191",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r206",
      "r214",
      "r215",
      "r373",
      "r376",
      "r393",
      "r459",
      "r786"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsPerDilutedShare",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, diluted, continuing operations (in dollars per share)",
        "terseLabel": "Earnings per common share, diluted, continuing operations (in dollars per share)",
        "documentation": "The amount of net income (loss) derived from continuing operations during the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r172",
      "r191",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r206",
      "r214",
      "r215",
      "r216",
      "r376",
      "r393",
      "r459",
      "r786"
     ]
    },
    "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromDiscontinuedOperationsNetOfTax",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net income and comprehensive income from discontinued operations, net of taxes",
        "terseLabel": "Less: Net income from discontinued operations, net of taxes",
        "documentation": "Amount after tax of income (loss) from a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r52",
      "r53",
      "r54",
      "r55",
      "r65",
      "r150",
      "r369",
      "r475"
     ]
    },
    "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income and comprehensive income from discontinued operations, net of taxes",
        "label": "Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Parent",
        "documentation": "Amount after tax of income (loss) from a discontinued operation attributable to the parent. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r52",
      "r53",
      "r54",
      "r55",
      "r61",
      "r65",
      "r118"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operations [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Groups, Including Discontinued Operations [Table]",
        "documentation": "Disclosure of information about a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r9",
      "r15",
      "r50",
      "r56",
      "r57",
      "r58",
      "r59",
      "r60",
      "r64",
      "r66",
      "r67",
      "r107"
     ]
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeStatementLocationAxis",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location [Axis]",
        "documentation": "Information by location in statement of income where disaggregated amount has been reported."
       }
      }
     },
     "auth_ref": [
      "r278",
      "r280",
      "r281",
      "r395",
      "r397",
      "r401",
      "r505",
      "r507",
      "r579",
      "r625",
      "r667",
      "r790"
     ]
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeStatementLocationDomain",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location [Domain]",
        "documentation": "Location in statement of income where disaggregated amount has been reported."
       }
      }
     },
     "auth_ref": [
      "r280",
      "r281",
      "r395",
      "r397",
      "r401",
      "r505",
      "r507",
      "r579",
      "r625",
      "r667",
      "r790"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Income taxes",
        "label": "Income Tax Expense (Benefit)",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r137",
      "r142",
      "r200",
      "r201",
      "r221",
      "r238",
      "r252",
      "r363",
      "r364",
      "r367",
      "r485",
      "r662"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInAccountsPayable",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts payable",
        "label": "Increase (Decrease) in Accounts Payable",
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Accounts receivable trade, net",
        "label": "Increase (Decrease) in Accounts Receivable",
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInAccruedLiabilities",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued liabilities",
        "label": "Increase (Decrease) in Accrued Liabilities",
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of expenses incurred but not yet paid."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInDeferredCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInDeferredCharges",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dry-dock costs paid",
        "label": "Increase (Decrease) in Deferred Charges",
        "documentation": "The increase (decrease) during the reporting period in the value of expenditures made during the current reporting period for benefits that will be received over a period of years. Deferred charges differ from prepaid expenses in that they usually extend over a long period of time and may or may not be regularly recurring costs of operation."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInDeferredRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInDeferredRevenue",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred revenue",
        "label": "Increase (Decrease) in Deferred Revenue",
        "documentation": "Amount of increase (decrease) in deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable."
       }
      }
     },
     "auth_ref": [
      "r626"
     ]
    },
    "us-gaap_IncreaseDecreaseInDueFromRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInDueFromRelatedParties",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Due from/to related parties",
        "label": "Increase (Decrease) in Due from Related Parties",
        "documentation": "The increase (decrease) during the reporting period in receivables to be collected from other entities that could exert significant influence over the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInInventories",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Inventories",
        "label": "Increase (Decrease) in Inventories",
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes in operating assets and liabilities:"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_IncreaseDecreaseInOtherDeferredCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "IncreaseDecreaseInOtherDeferredCharges",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the value of other expenditures made during the current reporting period for benefits that will be received over a period of years. Deferred charges differ from prepaid expenses in that they usually extend over a long period of time and may or may not be regularly recurring costs of operation.",
        "label": "Increase (Decrease ) in Other Deferred Charges",
        "negatedLabel": "Other deferred charges"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Prepaid expenses and other assets",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Shareholders' Equity [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInTemporaryEquityRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInTemporaryEquityRollForward",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Temporary Equity [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseInCarryingAmountOfRedeemablePreferredStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseInCarryingAmountOfRedeemablePreferredStock",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Deemed dividend on Preferred Shares",
        "label": "Increase in Carrying Amount of Redeemable Preferred Stock",
        "documentation": "Adjustment to retained earnings for the increase in carrying amount of redeemable preferred stock that is classified as temporary equity."
       }
      }
     },
     "auth_ref": [
      "r111"
     ]
    },
    "ctrm_IndigoGlobalCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "IndigoGlobalCorpMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Indigo Global Corp. [Member]",
        "terseLabel": "Indigo Global Corp. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestAndDebtExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestAndDebtExpenseAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Finance Costs [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestExpenseDebt",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest on long-term debt",
        "label": "Interest Expense, Debt",
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt."
       }
      }
     },
     "auth_ref": [
      "r92",
      "r316",
      "r322",
      "r651",
      "r652"
     ]
    },
    "us-gaap_InterestExpenseLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestExpenseLongTermDebt",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest incurred on long-term debt",
        "documentation": "Aggregate amount of interest paid or due on all long-term debt."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r144",
      "r145"
     ]
    },
    "us-gaap_InterestExpenseNonoperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestExpenseNonoperating",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "negatedTerseLabel": "Interest and finance costs",
        "negatedLabel": "Interest and finance costs",
        "label": "Interest Expense, Nonoperating",
        "documentation": "Amount of interest expense classified as nonoperating."
       }
      }
     },
     "auth_ref": [
      "r234",
      "r715"
     ]
    },
    "us-gaap_InterestExpenseOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestExpenseOther",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other finance charges",
        "documentation": "Amount of interest expense classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryNet",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inventories",
        "label": "Inventory, Net",
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r161",
      "r629",
      "r673"
     ]
    },
    "ctrm_InvestmentInRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "InvestmentInRelatedParty",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security without readily determinable fair value.",
        "label": "Investment in Related Party",
        "terseLabel": "Investment in related party",
        "verboseLabel": "Investment in related party - non-current"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_InvestmentInRelatedPartyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "InvestmentInRelatedPartyAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment in Related Party [Abstract]",
        "terseLabel": "Investment in Related Party [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIncomeDividend": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentIncomeDividend",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend income on equity securities",
        "label": "Investment Income, Dividend",
        "documentation": "Amount of dividend income on nonoperating securities."
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "ctrm_InvestmentIncomeDividendRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "InvestmentIncomeDividendRelatedParty",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend income on nonoperating securities from related party.",
        "label": "Investment Income, Dividend, Related Party",
        "terseLabel": "Dividend income from related party"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIncomeInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentIncomeInterest",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest income",
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities."
       }
      }
     },
     "auth_ref": [
      "r221",
      "r233",
      "r252",
      "r640",
      "r714"
     ]
    },
    "us-gaap_InvestmentOwnedBalanceShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentOwnedBalanceShares",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of shares held (in shares)",
        "label": "Investment Owned, Balance, Shares",
        "documentation": "Number of shares of investment owned."
       }
      }
     },
     "auth_ref": [
      "r538",
      "r539",
      "r605",
      "r611",
      "r614",
      "r694"
     ]
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment in equity securities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecurities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment in equity securities",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "documentation": "The entire disclosure for investments in certain debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r129",
      "r146",
      "r260",
      "r261",
      "r408",
      "r409",
      "r782"
     ]
    },
    "ctrm_JerryShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "JerryShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Jerry Shipping Co [Member]",
        "terseLabel": "Jerry Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_JohnnyBravoShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "JohnnyBravoShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Johnny Bravo Shipping Co [Member]",
        "terseLabel": "Johnny Bravo Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_JumaruShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "JumaruShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Jumaru Shipping Co. [Member]",
        "terseLabel": "Jumaru Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_KabamaruShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "KabamaruShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Kabamaru Shipping Co. [Member]",
        "terseLabel": "Kabamaru Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_KamsarmaxVesselMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "KamsarmaxVesselMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A medium-sized vessel with a carrying capacity between 80,000 and 85,000 deadweight tonnage (DWT).",
        "label": "Kamsarmax Vessel [Member]",
        "terseLabel": "Kamsarmax [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LaborAndRelatedExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LaborAndRelatedExpense",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Crew &amp; crew related costs",
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit."
       }
      }
     },
     "auth_ref": [
      "r713"
     ]
    },
    "us-gaap_LessorOperatingLeasePaymentsFiscalYearMaturityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LessorOperatingLeasePaymentsFiscalYearMaturityAbstract",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Future Minimum Contracted Lease Payments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LessorOperatingLeasePaymentsToBeReceived",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Lessor, Operating Lease, Payment to be Received",
        "documentation": "Amount of lease payments to be received by lessor for operating lease."
       }
      }
     },
     "auth_ref": [
      "r429"
     ]
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Future Minimum Contracted Lease Payments",
        "label": "Lessor, Operating Lease, Payment to be Received, Maturity [Table Text Block]",
        "documentation": "Tabular disclosure of maturity of undiscounted cash flows to be received by lessor on annual basis for operating lease."
       }
      }
     },
     "auth_ref": [
      "r772"
     ]
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "2025",
        "label": "Lessor, Operating Lease, Payment to be Received, Year One",
        "documentation": "Amount of lease payment to be received by lessor for operating lease in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r429"
     ]
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities, mezzanine equity and shareholders' equity",
        "label": "Liabilities and Equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r124",
      "r470",
      "r673",
      "r721",
      "r740",
      "r766"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIABILITIES, MEZZANINE EQUITY AND SHAREHOLDERS' EQUITY",
        "label": "Liabilities and Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total current liabilities",
        "label": "Liabilities, Current",
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r71",
      "r152",
      "r182",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r379",
      "r382",
      "r383",
      "r411",
      "r673",
      "r756",
      "r774",
      "r775"
     ]
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesCurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CURRENT LIABILITIES:",
        "label": "Liabilities, Current [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total non-current liabilities",
        "label": "Liabilities, Noncurrent",
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r72",
      "r73",
      "r74",
      "r75",
      "r182",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r379",
      "r382",
      "r383",
      "r411",
      "r756",
      "r774",
      "r775"
     ]
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesNoncurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NON-CURRENT LIABILITIES:"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LionoShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "LionoShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Liono Shipping Co. [Member]",
        "terseLabel": "Liono Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebt",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total long-term debt, net of deferred finance costs",
        "label": "Long-Term Debt",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r122",
      "r310",
      "r321",
      "r649",
      "r650",
      "r672",
      "r783"
     ]
    },
    "us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtByCurrentAndNoncurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Presented [Abstract]",
        "label": "Long-Term Debt, by Current and Noncurrent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebtByMaturityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtByMaturityAbstract",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Principal Payments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LongTermDebtGrossCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "LongTermDebtGrossCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt classified as current.",
        "label": "Long-term Debt, Gross, Current",
        "terseLabel": "Current portion of long-term debt"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LongTermDebtGrossNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "LongTermDebtGrossNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt classified as noncurrent.",
        "label": "Long-term Debt, Gross, Noncurrent",
        "terseLabel": "Non-Current portion of long-term debt"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2025",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Next Rolling 12 Months",
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r724"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2027",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Three",
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r724"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2026",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Two",
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r724"
     ]
    },
    "us-gaap_LongTermDebtTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtTextBlock",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt",
        "label": "Long-Term Debt [Text Block]",
        "documentation": "The entire disclosure for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r109"
     ]
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency Nature [Axis]",
        "documentation": "Information by type of existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r286",
      "r287",
      "r288",
      "r291",
      "r362",
      "r513",
      "r647",
      "r751",
      "r752"
     ]
    },
    "us-gaap_LossContingenciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingenciesLineItems",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingencies [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r286",
      "r287",
      "r288",
      "r291",
      "r362",
      "r647",
      "r751",
      "r752"
     ]
    },
    "us-gaap_LossContingenciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingenciesTable",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingencies [Table]",
        "documentation": "Disclosure of information about loss contingency. Excludes environmental contingency, warranty, and unconditional purchase obligation."
       }
      }
     },
     "auth_ref": [
      "r286",
      "r287",
      "r288",
      "r291",
      "r362",
      "r647",
      "r751",
      "r752"
     ]
    },
    "us-gaap_LossContingencyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingencyAbstract",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Claims [Abstract]",
        "label": "Loss Contingency [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LossContingencyNatureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingencyNatureDomain",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency, Nature [Domain]",
        "documentation": "An existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur. Resolution of the uncertainty may confirm the incurrence of a loss or impairment of an asset or the incurrence of a liability."
       }
      }
     },
     "auth_ref": [
      "r286",
      "r287",
      "r288",
      "r291",
      "r362",
      "r513",
      "r647",
      "r751",
      "r752"
     ]
    },
    "ctrm_LossGainOnBunkerFuel": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "LossGainOnBunkerFuel",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of loss (gain) on bunker fuel during the period. The gain or loss is the difference between the cost of bunker fuel delivered by the terminating charterer and the bunker fuel sold to the new charterer.",
        "label": "Loss (Gain) on Bunker Fuel",
        "terseLabel": "Loss / (Gain) on bunkers"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LubricantExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "LubricantExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating expense for lubricants.",
        "label": "Lubricant Expenses",
        "terseLabel": "Lubricants"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LuffyShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "LuffyShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Luffy Shipping Co. [Member]",
        "terseLabel": "Luffy Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicCallistoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicCallistoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A Japanese-built Panamax dry bulk carrier.",
        "label": "Magic Callisto [Member]",
        "verboseLabel": "M/V Magic Callisto [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicEclipseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicEclipseMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 74,940 dwt.",
        "label": "Magic Eclipse [Member]",
        "verboseLabel": "M/V Magic Eclipse [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicHorizonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicHorizonMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,619 dwt.",
        "label": "Magic Horizon [Member]",
        "terseLabel": "M/V Magic Horizon [Member]",
        "verboseLabel": "M/V Magic Horizon [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicMarsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicMarsMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,822 dwt.",
        "label": "Magic Mars [Member]",
        "verboseLabel": "M/V Magic Mars [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicMoonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicMoonMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,602 dwt.",
        "label": "Magic Moon [Member]",
        "verboseLabel": "M/V Magic Moon [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicNebulaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicNebulaMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 80,281 dwt.",
        "label": "Magic Nebula [Member]",
        "verboseLabel": "M/V Magic Nebula [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicNovaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicNovaMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 78,833 dwt.",
        "label": "Magic Nova [Member]",
        "verboseLabel": "M/V Magic Nova [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicOrionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicOrionMember",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 180,200 dwt.",
        "label": "Magic Orion [Member]",
        "verboseLabel": "M/V Magic Orion [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicPMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Panamax vessel with a carrying capacity of 76,453 dwt.",
        "label": "Magic P [Member]",
        "verboseLabel": "M/V Magic P [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicPerseusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicPerseusMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 82,158 dwt.",
        "label": "Magic Perseus [Member]",
        "verboseLabel": "M/V Magic Perseus [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicPlutoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicPlutoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 74,940 dwt.",
        "label": "Magic Pluto [Member]",
        "verboseLabel": "M/V Magic Pluto [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicStarlightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicStarlightMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 81,048 dwt.",
        "label": "Magic Starlight [Member]",
        "verboseLabel": "M/V Magic Starlight [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicThunderMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicThunderMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 83,375 dwt.",
        "label": "Magic Thunder [Member]",
        "verboseLabel": "M/V Magic Thunder [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicVelaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicVelaMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 75,003 dwt.",
        "label": "Magic Vela [Member]",
        "verboseLabel": "M/V Magic Vela [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicVenusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MagicVenusMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 83,416 dwt.",
        "label": "Magic Venus [Member]",
        "verboseLabel": "M/V Magic Venus [Member]",
        "terseLabel": "M/V Magic Venus [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MaterialReconcilingItemsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MaterialReconcilingItemsMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reconciling Items [Member]",
        "documentation": "Items used in reconciling reportable segments' amounts to consolidated amount. Excludes corporate-level activity."
       }
      }
     },
     "auth_ref": [
      "r247",
      "r250",
      "r253",
      "r640",
      "r641"
     ]
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "MaximumMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r357",
      "r362",
      "r394",
      "r447",
      "r504",
      "r506",
      "r513",
      "r540",
      "r541",
      "r603",
      "r606",
      "r609",
      "r610",
      "r612",
      "r623",
      "r624",
      "r645",
      "r653",
      "r661",
      "r668",
      "r669",
      "r670",
      "r671",
      "r687",
      "r760",
      "r776",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781"
     ]
    },
    "ctrm_MickeyShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MickeyShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Mickey Shipping Co. [Member]",
        "terseLabel": "Mickey Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "MinimumMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r357",
      "r362",
      "r394",
      "r447",
      "r504",
      "r506",
      "r513",
      "r540",
      "r541",
      "r603",
      "r606",
      "r609",
      "r610",
      "r612",
      "r623",
      "r624",
      "r645",
      "r653",
      "r661",
      "r668",
      "r669",
      "r670",
      "r687",
      "r760",
      "r776",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781"
     ]
    },
    "us-gaap_MovementInAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipmentRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MovementInAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipmentRollForward",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Accumulated Depreciation [Abstract]",
        "label": "Movement in Accumulated Depreciation, Depletion and Amortization, Property, Plant and Equipment [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MovementInPropertyPlantAndEquipmentRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "MovementInPropertyPlantAndEquipmentRollForward",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Assets Held for Sale [Abstract]",
        "terseLabel": "Vessel Cost [Abstract]",
        "label": "Movement in Property, Plant and Equipment [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MulanShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "MulanShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Mulan Shipping Co. [Member]",
        "terseLabel": "Mulan Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInDiscontinuedOperations",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash used in discontinued operations",
        "label": "Net Cash Provided by (Used in) Discontinued Operations",
        "documentation": "Increase (decrease) in cash associated with the entity's discontinued operations."
       }
      }
     },
     "auth_ref": [
      "r98"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInDiscontinuedOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInDiscontinuedOperationsAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows of discontinued operations:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash used in Financing Activities from continuing operations",
        "label": "Net Cash Provided by (Used in) Financing Activities, Continuing Operations",
        "documentation": "Amount of cash inflow (outflow) of financing activities, excluding discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit."
       }
      }
     },
     "auth_ref": [
      "r716"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows used in Financing Activities of Continuing Operations:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperations",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash (used in) / provided by Investing Activities from Continuing Operations",
        "label": "Net Cash Provided by (Used in) Investing Activities, Continuing Operations",
        "documentation": "Amount of cash inflow (outflow) of investing activities, excluding discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets."
       }
      }
     },
     "auth_ref": [
      "r716"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flow (used in)/provided by Investing Activities of Continuing Operations:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net Cash provided by Operating Activities from Continuing Operations",
        "label": "Net Cash Provided by (Used in) Operating Activities, Continuing Operations",
        "documentation": "Amount of cash inflow (outflow) from operating activities, excluding discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r98",
      "r99",
      "r100"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash Flows provided by Operating Activities of Continuing Operations:",
        "label": "Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income",
        "verboseLabel": "Net income and comprehensive income",
        "label": "Net income",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r100",
      "r127",
      "r150",
      "r163",
      "r165",
      "r169",
      "r182",
      "r191",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r200",
      "r201",
      "r212",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r373",
      "r376",
      "r393",
      "r411",
      "r477",
      "r571",
      "r593",
      "r594",
      "r700",
      "r756"
     ]
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income attributable to common shareholders",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r175",
      "r193",
      "r194",
      "r195",
      "r196",
      "r203",
      "r204",
      "r213",
      "r216",
      "r376"
     ]
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income attributable to common shareholders, diluted",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r175",
      "r205",
      "r208",
      "r209",
      "r210",
      "r211",
      "r213",
      "r216"
     ]
    },
    "ctrm_NonVesselOwningSubsidiariesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NonVesselOwningSubsidiariesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries not owning vessels.",
        "label": "Non-Vessel Owning Subsidiaries [Table Text Block]",
        "terseLabel": "Consolidated Non-Vessel Owning Subsidiaries"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NonoperatingIncomeExpense",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total other (expenses) / income, net",
        "label": "Nonoperating Income (Expense)",
        "documentation": "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business)."
       }
      }
     },
     "auth_ref": [
      "r91"
     ]
    },
    "us-gaap_NonrelatedPartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NonrelatedPartyMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonrelated Party [Member]",
        "documentation": "Party not related to reporting entity."
       }
      }
     },
     "auth_ref": [
      "r722",
      "r723"
     ]
    },
    "ctrm_NumberOfConsecutiveTradingDayCommencingOnDistributionDate": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfConsecutiveTradingDayCommencingOnDistributionDate",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of consecutive trading day commencing on distribution date, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Number of Consecutive Trading Day Commencing on Distribution Date",
        "terseLabel": "Number of consecutive trading day commencing on distribution date"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfConsecutiveTradingDayExpiringOnTradingDay": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfConsecutiveTradingDayExpiringOnTradingDay",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of consecutive trading day commencing on distribution date, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Number of Consecutive Trading Day Expiring on Trading Day",
        "terseLabel": "Number of consecutive trading day expiring on trading day"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfContainershipsAcquired": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfContainershipsAcquired",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of containerships acquired during period.",
        "label": "Number of Containerships Acquired",
        "terseLabel": "Number of containerships acquired"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfFormerTankerOwningSubsidiaries": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfFormerTankerOwningSubsidiaries",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of former tanker-owning subsidiaries.",
        "label": "Number of Former Tanker-owning Subsidiaries",
        "terseLabel": "Number of former tanker-owning subsidiaries"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfReportableSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of reportable segments",
        "label": "Number of Reportable Segments",
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements."
       }
      }
     },
     "auth_ref": [
      "r636",
      "r644",
      "r732"
     ]
    },
    "ctrm_NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of the Company's common stock held to receive one share of the subsidiary's common stock issued upon completion of spin-off of the wholly owned subsidiary.",
        "label": "Number of Shares of Common Stock Held to Receive Stock Issued Upon Completion of Spin-Off",
        "terseLabel": "Number of shares of Company stock held to receive one share of Toro common stock (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfSharesOfCommonStockIssuedUponCompletionOfSpinOff": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfSharesOfCommonStockIssuedUponCompletionOfSpinOff",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of the subsidiary's common stock that was issued for every 10 shares of the Company's common stock upon completion of spin-off of the wholly owned subsidiary.",
        "label": "Number of Shares of Common Stock Issued upon Completion of Spin-Off",
        "terseLabel": "Number of shares of Toro common stock issued for every 10 shares of Company stock (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVessels": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfVessels",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels in the Company's fleet.",
        "label": "Number of vessels",
        "terseLabel": "Number of vessels"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVesselsMortgagedAsCollateral": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfVesselsMortgagedAsCollateral",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "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",
        "verboseLabel": "Number of vessels mortgaged as collateral"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVesselsSold": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfVesselsSold",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels sold by the entity during the period.",
        "label": "Number of Vessels Sold",
        "terseLabel": "Number of vessels sold"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVesselsUnderTechnicalManagement": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "NumberOfVesselsUnderTechnicalManagement",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of vessels under technical management with sub-contracted, third-party ship-management companies.",
        "label": "Number of vessels under technical management",
        "terseLabel": "Number of vessels under technical management"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_O2024Q2DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "O2024Q2DividendsMember",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution of earnings in the form of cash for the period from April 15, 2024 to July 14, 2024.",
        "label": "O 2024-Q2 Dividends [Member]",
        "terseLabel": "Q2-2024 Dividend [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OfficersCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OfficersCompensation",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-executive directors' compensation",
        "documentation": "Amount of expense for salary and wage arising from service rendered by officer. Excludes allocated cost, labor-related nonsalary expense, and direct and overhead labor cost included in cost of good and service sold."
       }
      }
     },
     "auth_ref": [
      "r713"
     ]
    },
    "us-gaap_OperatingCostsAndExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingCostsAndExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Vessel operating expenses",
        "totalLabel": "Total Vessel operating expenses",
        "label": "Operating Costs and Expenses",
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Excludes Selling, General and Administrative Expense."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingCostsAndExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingCostsAndExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessel Operating Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_OperatingExpensesPaymentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "OperatingExpensesPaymentsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for operating expenses made by Castor Ships on behalf of the Company.",
        "label": "Operating Expenses Payments [Member]",
        "terseLabel": "Operating Expenses Payments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Operating income",
        "label": "Operating Income (Loss)",
        "documentation": "The net result for the period of deducting operating expenses from operating revenues."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r635",
      "r731",
      "r733",
      "r735",
      "r736",
      "r737"
     ]
    },
    "us-gaap_OperatingLeaseLeaseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseLeaseIncome",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Time charter revenues",
        "label": "Operating Lease, Lease Income",
        "documentation": "Amount of operating lease income from lease payments and variable lease payments paid and payable to lessor. Includes, but is not limited to, variable lease payments not included in measurement of lease receivable."
       }
      }
     },
     "auth_ref": [
      "r222",
      "r428",
      "r430"
     ]
    },
    "us-gaap_OperatingSegmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingSegmentsMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Segment [Member]",
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r253",
      "r640",
      "r641"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and General information [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Basis of Presentation and General information",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure."
       }
      }
     },
     "auth_ref": [
      "r48",
      "r117",
      "r514",
      "r515"
     ]
    },
    "ctrm_OrganizationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "OrganizationLineItems",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Organization [Line Items]",
        "terseLabel": "Subsidiaries in Consolidation [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_OrganizationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "OrganizationTable",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information on the organization.",
        "label": "Organization [Table]",
        "terseLabel": "Organization [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherAssetsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred Charges, net",
        "label": "Other Assets Disclosure [Text Block]",
        "documentation": "The entire disclosure for other assets. This disclosure includes other current assets and other noncurrent assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherCostAndExpenseOperating",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Other Cost and Expense, Operating",
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation."
       }
      }
     },
     "auth_ref": [
      "r88",
      "r484",
      "r640"
     ]
    },
    "us-gaap_OtherIncomeAndExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherIncomeAndExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "OTHER INCOME/(EXPENSES):"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherLiabilitiesCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Due to related parties",
        "terseLabel": "Due to related party - current",
        "label": "Other Liabilities, Current",
        "documentation": "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r673"
     ]
    },
    "us-gaap_OtherLiabilitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherLiabilitiesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value of Acquired Time Charters [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherLiabilitiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherLiabilitiesDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeCharters"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value of Acquired Time Charters",
        "documentation": "The entire disclosure for other liabilities."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r73",
      "r743"
     ]
    },
    "us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Liability, Current, Related Party, Type [Extensible Enumeration]",
        "documentation": "Indicates status and type of related party for liability classified as other and current."
       }
      }
     },
     "auth_ref": [
      "r773"
     ]
    },
    "us-gaap_OtherNonoperatingIncomeAndExpenseTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherNonoperatingIncomeAndExpenseTextBlock",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCosts"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest and Finance Costs",
        "label": "Other Nonoperating Income and Expense [Text Block]",
        "documentation": "The entire disclosure for the components of non-operating income or non-operating expense, including, but not limited to, amounts earned from dividends, interest on securities, gain (loss) on securities sold, equity earnings of unconsolidated affiliates, gain (loss) on sales of business, interest expense and other miscellaneous income or expense items."
       }
      }
     },
     "auth_ref": [
      "r173",
      "r174"
     ]
    },
    "us-gaap_OtherReceivableAfterAllowanceForCreditLossCurrentRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherReceivableAfterAllowanceForCreditLossCurrentRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Receivable, after Allowance for Credit Loss, Current, Related Party, Type [Extensible Enumeration]",
        "documentation": "Indicates status and type of related party for receivable, after allowance for credit loss, classified as other and current."
       }
      }
     },
     "auth_ref": [
      "r773"
     ]
    },
    "us-gaap_OtherReceivableAfterAllowanceForCreditLossNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherReceivableAfterAllowanceForCreditLossNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Due from related parties",
        "verboseLabel": "Due from related party - non-current",
        "label": "Other Receivable, after Allowance for Credit Loss, Noncurrent",
        "documentation": "Amount, after allowance for credit loss, of receivable classified as other and noncurrent."
       }
      }
     },
     "auth_ref": [
      "r707"
     ]
    },
    "us-gaap_OtherReceivableAfterAllowanceForCreditLossNoncurrentRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherReceivableAfterAllowanceForCreditLossNoncurrentRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Receivable, after Allowance for Credit Loss, Noncurrent, Related Party, Type [Extensible Enumeration]",
        "documentation": "Indicates status and type of related party for receivable, after allowance for credit loss, classified as other and noncurrent."
       }
      }
     },
     "auth_ref": [
      "r773",
      "r784"
     ]
    },
    "us-gaap_OtherReceivablesNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherReceivablesNetCurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Due from related parties",
        "label": "Due from related parties - current",
        "documentation": "Amount, after allowance, of receivables classified as other, due within one year or the operating cycle, if longer."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PanamaxVesselMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PanamaxVesselMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A dry bulk carrier with a dead-weight carrying capacity of about 75,000 tons.",
        "label": "Panamax Vessel [Member]",
        "terseLabel": "Panamax [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ParValueOfSharesIssuedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ParValueOfSharesIssuedMember",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital stock, including shares designated as common shares and preferred shares.",
        "label": "Par Value of Shares Issued [Member]",
        "terseLabel": "Par Value of Shares Issued [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PavimarSAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PavimarSAMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pavimar S.A. (Pavimar) is a company controlled by Ismini Panagiotidis, the sister of Petros Panagiotidis, the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Pavimar S.A. [Member]",
        "terseLabel": "Pavimar [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForRepurchaseOfWarrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsForRepurchaseOfWarrants",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of warrants",
        "terseLabel": "Repurchase of warrants",
        "label": "Payments for Repurchase of Warrants",
        "documentation": "The aggregate amount paid by the entity to reacquire the right to purchase equity shares at a predetermined price, usually issued together with corporate debt."
       }
      }
     },
     "auth_ref": [
      "r96"
     ]
    },
    "us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsOfDividendsPreferredStockAndPreferenceStock",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividends paid on Series D Preferred Shares",
        "terseLabel": "Dividend paid on Series D Preferred Shares",
        "label": "Payments of Ordinary Dividends, Preferred Stock and Preference Stock",
        "documentation": "Amount of cash outflow in the form of ordinary dividends to preferred shareholders of the parent entity."
       }
      }
     },
     "auth_ref": [
      "r96"
     ]
    },
    "us-gaap_PaymentsOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsOfFinancingCosts",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Payment of deferred financing costs",
        "label": "Payments of Financing Costs",
        "documentation": "The cash outflow for loan and debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsOfStockIssuanceCosts",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Common share issuance expenses",
        "label": "Payments of Stock Issuance Costs",
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "us-gaap_PaymentsToAcquireEquitySecuritiesFvNi": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsToAcquireEquitySecuritiesFvNi",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Purchase of equity securities",
        "terseLabel": "Equity securities acquired",
        "label": "Payments to Acquire Equity Securities, FV-NI",
        "documentation": "Amount of cash outflow to acquire investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r176"
     ]
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Vessel acquisitions and other vessel improvements",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets."
       }
      }
     },
     "auth_ref": [
      "r95"
     ]
    },
    "ctrm_PercentageOfPurchasePriceRequiredAsDepositIntoEscrowAccount": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PercentageOfPurchasePriceRequiredAsDepositIntoEscrowAccount",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the purchase price of the vessel being sold under a Memorandum of Agreement that the buyers were required to deposit into an escrow account administered by the escrow agent as security for completion of the transaction.",
        "label": "Percentage of Purchase Price Required as Deposit into Escrow Account",
        "terseLabel": "Percentage of purchase price required as deposit into escrow account"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PercentageOfSharesHeld": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PercentageOfSharesHeld",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the Company's shares held by another entity.",
        "label": "Percentage of shares held",
        "terseLabel": "Percentage of shares held"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PercentageOfVolumeWeightedAveragePrice": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PercentageOfVolumeWeightedAveragePrice",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of volume weighted average price (\"VWAP\") of common shares used in the calculation of the conversion price of preferred shares.",
        "label": "Percentage of Volume Weighted Average Price",
        "terseLabel": "Percentage of volume weighted average price of common shares"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PeriodToFileAppealAfterAwardByArbitrator": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PeriodToFileAppealAfterAwardByArbitrator",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time after arbitrator issued an award to the owners for buyers of vessel to file an appeal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Period to file appeal after award by arbitrator",
        "terseLabel": "Period to file appeal after award by arbitrator"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PikachuShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PikachuShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Pikachu Shipping Co. [Member]",
        "terseLabel": "Pikachu Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PocahontasShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PocahontasShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Pocahontas Shipping Co. [Member]",
        "terseLabel": "Pocahontas Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PoolAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PoolAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue generated from pool agreements.",
        "label": "Pool Agreements [Member]",
        "terseLabel": "Pool [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PortAndOtherExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PortAndOtherExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed charges, such as wharfage, towage, and pilotage, levied against a ship or its cargo in port and other expenses.",
        "label": "Port and Other Expenses",
        "terseLabel": "Port &amp; other expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockConvertibleConversionPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockConvertibleConversionPrice",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conversion price (in dollars per share)",
        "label": "Conversion price (in dollars per share)",
        "documentation": "Per share conversion price of preferred stock."
       }
      }
     },
     "auth_ref": [
      "r326"
     ]
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockDividendRatePercentage",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, dividend rate",
        "verboseLabel": "Percentage of cash dividends",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock."
       }
      }
     },
     "auth_ref": [
      "r325",
      "r604",
      "r607",
      "r608",
      "r613"
     ]
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Deemed dividend on Preferred Shares",
        "label": "Deemed preferred dividend",
        "terseLabel": "Deemed dividend on Series D Preferred Shares",
        "negatedTerseLabel": "Less: Deemed dividend on Preferred Shares",
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PreferredStockEffectiveInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PreferredStockEffectiveInterestRate",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The effective interest rate used to calculate the accretion of dividends.",
        "label": "Preferred Stock Effective Interest Rate",
        "terseLabel": "Effective interest rate"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PreferredStockExpectedLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PreferredStockExpectedLife",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected life of preferred stock, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Preferred Stock Expected Life",
        "terseLabel": "Preferred stock, redemption period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred Shares [Member]",
        "label": "Preferred Stock [Member]",
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company."
       }
      }
     },
     "auth_ref": [
      "r692",
      "r693",
      "r696",
      "r697",
      "r698",
      "r699",
      "r819",
      "r825"
     ]
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockParOrStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, par value (in dollars per share)",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r324"
     ]
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockSharesAuthorized",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, shares authorized (in shares)",
        "label": "Preferred Stock, Shares Authorized",
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r549"
     ]
    },
    "us-gaap_PreferredStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockSharesIssued",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred shares, shares issued (in shares)",
        "terseLabel": "Preferred shares, shares issued (in shares)",
        "documentation": "Number of shares issued for nonredeemable preferred shares and preferred shares redeemable solely at option of issuer. Includes, but is not limited to, preferred shares issued, repurchased, and held as treasury shares. Excludes preferred shares classified as debt."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r324"
     ]
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockSharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred shares, shares outstanding (in shares)",
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r549",
      "r567",
      "r825",
      "r826"
     ]
    },
    "ctrm_PreferredStockStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PreferredStockStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Stated Value per Share",
        "terseLabel": "Preferred shares, stated amount (in dollars per share)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PreferredStockValue",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, $0.001 par value: 50,000,000 shares authorized; Series B Preferred Shares - 12,000 shares issued and outstanding as of December 31, 2023, and June 30, 2024",
        "label": "Preferred Stock, Value, Issued",
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r466",
      "r673"
     ]
    },
    "ctrm_PreferredStockVotingRightsNumberOfVotes": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PreferredStockVotingRightsNumberOfVotes",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of votes each outstanding preferred share is entitled to vote per share owned on all matters submitted to a vote of shareholders.",
        "label": "Preferred Stock, Voting Rights, Number of Votes",
        "terseLabel": "Number of votes per share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrepaidExpenseAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PrepaidExpenseAndOtherAssets",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid expenses and other assets",
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepaid expenses and other assets",
        "label": "Prepaid Expense and Other Assets, Current",
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r711"
     ]
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PrepaidExpenseAndOtherAssetsNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Prepaid expenses and other assets",
        "label": "Prepaid Expense and Other Assets, Noncurrent",
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed after one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r119",
      "r708"
     ]
    },
    "us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PrepaidExpensesAndOtherCurrentAssetsMember",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepaid Expenses and Other Assets [Member]",
        "label": "Prepaid Expenses and Other Current Assets [Member]",
        "documentation": "Primary financial statement caption encompassing prepaid expenses and other current assets."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ProceedsFromClaim": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ProceedsFromClaim",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received for the settlement of litigation during the current period.",
        "label": "Proceeds from Litigation Settlement",
        "terseLabel": "Proceeds from a claim"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromContributionsFromAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromContributionsFromAffiliates",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds received from Toro Corp. related to Spin-Off",
        "terseLabel": "Proceeds received related to Spin-Off",
        "documentation": "The cash inflow from an entity that is affiliated with the entity by means of direct or indirect ownership."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "us-gaap_ProceedsFromInterestAndDividendsReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromInterestAndDividendsReceived",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends received from related parties",
        "documentation": "Cash received for dividends and interest on the entity's equity and debt investments during the current period."
       }
      }
     },
     "auth_ref": [
      "r136",
      "r178"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromIssuanceOfPreferredStockAndPreferenceStock",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consideration received for preferred shares issued",
        "documentation": "Proceeds from issuance of capital stock which provides for a specific dividend that is paid to the shareholders before any dividends to common stockholders and which takes precedence over common stockholders in the event of liquidation."
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross proceeds from issuance of common shares",
        "label": "Proceeds from Issuance or Sale of Equity",
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r517"
     ]
    },
    "us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromSaleOfEquitySecuritiesFvNi",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from sale of equity securities",
        "negatedLabel": "Proceeds from sale of equity securities",
        "label": "Proceeds from Sale of Equity Securities, FV-NI",
        "documentation": "Amount of cash inflow from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r176"
     ]
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net proceeds from sale of vessels",
        "label": "Proceeds from Sale of Property, Plant, and Equipment",
        "documentation": "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r94"
     ]
    },
    "srt_ProductOrServiceAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ProductOrServiceAxis",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "auth_ref": [
      "r255",
      "r448",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r627",
      "r654",
      "r686",
      "r687",
      "r688",
      "r690",
      "r691",
      "r753",
      "r754",
      "r763",
      "r787",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818"
     ]
    },
    "srt_ProductsAndServicesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ProductsAndServicesDomain",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]"
       }
      }
     },
     "auth_ref": [
      "r255",
      "r448",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r627",
      "r654",
      "r686",
      "r687",
      "r688",
      "r690",
      "r691",
      "r753",
      "r754",
      "r763",
      "r787",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818"
     ]
    },
    "us-gaap_ProfessionalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProfessionalFees",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Professional fees and other expenses",
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer."
       }
      }
     },
     "auth_ref": [
      "r640",
      "r700",
      "r821",
      "r822"
     ]
    },
    "us-gaap_ProfitLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProfitLoss",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income and Comprehensive income, before taxes",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r163",
      "r165",
      "r177",
      "r182",
      "r191",
      "r197",
      "r200",
      "r201",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r373",
      "r376",
      "r377",
      "r380",
      "r381",
      "r393",
      "r411",
      "r460",
      "r476",
      "r525",
      "r571",
      "r593",
      "r594",
      "r663",
      "r664",
      "r701",
      "r712",
      "r756"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessels, net/Assets held for sale [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentAdditions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquisitions, improvements, and other vessel costs",
        "documentation": "Amount of acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Axis]",
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r427"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSale"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessels, net/Assets held for sale",
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections."
       }
      }
     },
     "auth_ref": [
      "r103",
      "r139",
      "r140",
      "r141"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentDisposals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentDisposals",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Asset's disposal",
        "negatedLabel": "Vessel disposals",
        "label": "Property, Plant and Equipment, Disposals",
        "documentation": "Amount of divestiture of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentGross",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "label": "Property, Plant and Equipment, Gross",
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures."
       }
      }
     },
     "auth_ref": [
      "r106",
      "r154",
      "r473"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentLineItems",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r427"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Carrying value",
        "terseLabel": "Vessels, net",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r427",
      "r461",
      "r473",
      "r673"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentNetByTypeAbstract",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Vessels, net [Abstract]",
        "terseLabel": "Net Book Value [Abstract]",
        "label": "Property, Plant and Equipment, Net, by Type [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PropertyPlantAndEquipmentNetVesselDisposal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PropertyPlantAndEquipmentNetVesselDisposal",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services as a result of sale or disposal of property, plant and equipment.",
        "label": "Property, Plant and Equipment, Net, Vessel Disposal",
        "negatedLabel": "Vessel disposals"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PropertyPlantAndEquipmentPurchasePrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PropertyPlantAndEquipmentPurchasePrice",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase price of long-lived, physical asset used in the normal conduct of business and not intended for resale.",
        "label": "Property, Plant and Equipment, Purchase price",
        "terseLabel": "Purchase price of vessel"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PropertyPlantAndEquipmentSalesPrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PropertyPlantAndEquipmentSalesPrice",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "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",
        "verboseLabel": "Sale price of vessel"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessels, Net",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation."
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Domain]",
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software."
       }
      }
     },
     "auth_ref": [
      "r106",
      "r427"
     ]
    },
    "ctrm_PumbaShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "PumbaShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Pumba Shipping Co. [Member]",
        "terseLabel": "Pumba Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "RangeAxis",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r355",
      "r357",
      "r358",
      "r359",
      "r360",
      "r362",
      "r394",
      "r444",
      "r445",
      "r447",
      "r504",
      "r506",
      "r513",
      "r540",
      "r541",
      "r603",
      "r606",
      "r609",
      "r610",
      "r612",
      "r623",
      "r624",
      "r645",
      "r653",
      "r661",
      "r668",
      "r669",
      "r670",
      "r671",
      "r687",
      "r694",
      "r748",
      "r760",
      "r765",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "RangeMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r355",
      "r357",
      "r358",
      "r359",
      "r360",
      "r362",
      "r394",
      "r444",
      "r445",
      "r447",
      "r504",
      "r506",
      "r513",
      "r540",
      "r541",
      "r603",
      "r606",
      "r609",
      "r610",
      "r612",
      "r623",
      "r624",
      "r645",
      "r653",
      "r661",
      "r668",
      "r669",
      "r670",
      "r671",
      "r687",
      "r694",
      "r748",
      "r760",
      "r765",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781"
     ]
    },
    "us-gaap_ReceivablesFromStockholderMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ReceivablesFromStockholderMember",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Due from Shareholders [Member]",
        "documentation": "Category of equity that is due from owners or affiliates of the reporting entity (including due from officers or directors) resulting from the sale of stock before the cash payment is received."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ReconciliationFromSegmentTotalsToConsolidatedAbstract",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segment Information [Abstract]",
        "label": "Segment Reconciliation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTable",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reconciliation of Assets from Segment to Consolidated [Table]",
        "documentation": "Disclosure of information about identification, description, and amounts of all significant reconciling items in the reconciliation of total assets from reportable segments to the entity's consolidated assets."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29"
     ]
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reconciliation of Total Segment Assets to Total Assets",
        "label": "Reconciliation of Assets from Segment to Consolidated [Table Text Block]",
        "documentation": "Tabular disclosure of all significant reconciling items in the reconciliation of total assets from reportable segments to the entity's consolidated assets."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29"
     ]
    },
    "us-gaap_RedeemablePreferredStockDividends": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RedeemablePreferredStockDividends",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividend on Series D Preferred Shares",
        "negatedTerseLabel": "Less: Dividend on Series D Preferred Shares",
        "terseLabel": "Dividend on Series D Preferred Shares",
        "label": "Redeemable Preferred Stock Dividends",
        "documentation": "Dividends paid to preferred stock holders that is redeemable solely at the option of the issuer."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r22",
      "r115"
     ]
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party, Type [Domain]",
        "documentation": "Related and nonrelated parties. Related party includes, but is not limited to, affiliate, other entity for which investment is accounted for under equity method, trust for benefit of employee, principal owner, management, and member of immediate family, and other party that may be prevented from pursuing separate interests because of control, significant influence, or ownership interest."
       }
      }
     },
     "auth_ref": [
      "r259",
      "r356",
      "r435",
      "r436",
      "r464",
      "r471",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r566",
      "r568",
      "r602"
     ]
    },
    "us-gaap_RelatedPartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party [Member]",
        "documentation": "Party related to reporting entity. Includes, but is not limited to, affiliate, entity for which investment is accounted for by equity method, trust for benefit of employees, and principal owner, management, and members of immediate family."
       }
      }
     },
     "auth_ref": [
      "r183",
      "r184",
      "r435",
      "r436",
      "r437",
      "r438",
      "r464",
      "r471",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r566",
      "r568",
      "r602"
     ]
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionAxis",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Axis]",
        "documentation": "Information by type of related party transaction."
       }
      }
     },
     "auth_ref": [
      "r435",
      "r436",
      "r773"
     ]
    },
    "ctrm_RelatedPartyTransactionCommissions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "RelatedPartyTransactionCommissions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commissions paid to a related party broker on time-charter and voyage-charter arrangements.",
        "label": "Related Party Transaction, Commissions",
        "verboseLabel": "Charter hire commissions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionDomain",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Domain]",
        "documentation": "Transaction between related party."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionDueFromToRelatedPartiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "RelatedPartyTransactionDueFromToRelatedPartiesAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction, Due from (to) Related Parties [Abstract]",
        "terseLabel": "Balances with Related Parties [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionDueFromToRelatedPartiesCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "RelatedPartyTransactionDueFromToRelatedPartiesCurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction, Due from (to) Related Parties, Current [Abstract]",
        "terseLabel": "Transactions with Related Parties [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionFixedDailyFee": {
     "xbrltype": "perUnitItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "RelatedPartyTransactionFixedDailyFee",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed daily fee charged by a related party to provide a wide range of shipping services such as crew management, technical management, operational employment management, insurance arrangements, provisioning, bunkering, accounting services, general administration and audit support.",
        "label": "Related Party Transaction, Fixed Daily Fee",
        "terseLabel": "Daily fee for services"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionFlatManagementFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "RelatedPartyTransactionFlatManagementFees",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Flat quarterly management fee paid to related party for the management and administration of the Company's business.",
        "label": "Related Party Transaction, Flat Management Fees",
        "terseLabel": "Flat management fees",
        "verboseLabel": "Administration fees-related party (Note 4(a))"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionLineItems",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r259",
      "r575",
      "r576",
      "r579"
     ]
    },
    "ctrm_RelatedPartyTransactionManagementFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "RelatedPartyTransactionManagementFees",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "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",
        "verboseLabel": "Management fees"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionSaleAndPurchaseCommissions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "RelatedPartyTransactionSaleAndPurchaseCommissions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of commissions charged by related party for any sale or purchase of vessels for the Company.",
        "label": "Related Party Transaction, Sale and Purchase Commissions",
        "terseLabel": "Sale and purchase commissions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Transactions with Related Parties [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party, Type [Axis]",
        "documentation": "Information by related and nonrelated parties. Related party includes, but is not limited to, affiliate, other entity for which investment is accounted for under equity method, trust for benefit of employee, principal owner, management, and member of immediate family, and other party that may be prevented from pursuing separate interests because of control, significant influence, or ownership interest."
       }
      }
     },
     "auth_ref": [
      "r259",
      "r356",
      "r435",
      "r436",
      "r464",
      "r471",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r566",
      "r568",
      "r602",
      "r773"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedParties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Transactions with Related Parties",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates."
       }
      }
     },
     "auth_ref": [
      "r432",
      "r433",
      "r434",
      "r436",
      "r439",
      "r522",
      "r523",
      "r524",
      "r577",
      "r578",
      "r579",
      "r599",
      "r601"
     ]
    },
    "us-gaap_RepaymentsOfSecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RepaymentsOfSecuredDebt",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repayment of loan",
        "negatedLabel": "Repayment of long-term debt",
        "label": "Repayments of Secured Debt",
        "documentation": "The cash outflow to repay long-term debt that is wholly or partially secured by collateral. Excludes repayments of tax exempt secured debt."
       }
      }
     },
     "auth_ref": [
      "r97"
     ]
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]"
       }
      }
     },
     "auth_ref": [
      "r185",
      "r186",
      "r306",
      "r327",
      "r438",
      "r446",
      "r462",
      "r632",
      "r633"
     ]
    },
    "us-gaap_RestrictedCashCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedCashCurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Restricted cash, current",
        "terseLabel": "Restricted cash",
        "label": "Restricted Cash, Current",
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits."
       }
      }
     },
     "auth_ref": [
      "r706",
      "r718"
     ]
    },
    "us-gaap_RestrictedCashNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedCashNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted cash",
        "periodEndLabel": "Restricted cash, non-current",
        "label": "Restricted Cash, Noncurrent",
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as noncurrent. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits."
       }
      }
     },
     "auth_ref": [
      "r138",
      "r707",
      "r718"
     ]
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retained earnings",
        "label": "Retained Earnings (Accumulated Deficit)",
        "documentation": "Amount of accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r80",
      "r115",
      "r469",
      "r511",
      "r512",
      "r521",
      "r550",
      "r673"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retained Earnings [Member]",
        "label": "Retained Earnings [Member]",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r147",
      "r188",
      "r189",
      "r190",
      "r192",
      "r197",
      "r199",
      "r201",
      "r263",
      "r264",
      "r277",
      "r365",
      "r366",
      "r370",
      "r371",
      "r372",
      "r374",
      "r375",
      "r376",
      "r384",
      "r386",
      "r387",
      "r389",
      "r391",
      "r425",
      "r426",
      "r508",
      "r510",
      "r526",
      "r825"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Vessel Revenues [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenues"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Vessel Revenues",
        "label": "Revenue from Contract with Customer [Text Block]",
        "documentation": "The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset. Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer. Excludes insurance and lease contracts."
       }
      }
     },
     "auth_ref": [
      "r143",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r354"
     ]
    },
    "us-gaap_Revenues": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Revenues",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total vessel revenues",
        "label": "Revenues",
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss)."
       }
      }
     },
     "auth_ref": [
      "r131",
      "r132",
      "r170",
      "r182",
      "r221",
      "r231",
      "r232",
      "r246",
      "r252",
      "r255",
      "r257",
      "r258",
      "r262",
      "r292",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r301",
      "r302",
      "r411",
      "r460",
      "r640",
      "r756"
     ]
    },
    "us-gaap_RevenuesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenuesAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "REVENUES:",
        "label": "Revenues [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RocketShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "RocketShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Rocket Shipping Co. [Member]",
        "terseLabel": "Rocket Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SaleOfMVMagicMoonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SaleOfMVMagicMoonMember",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Following the buyers' failure to take delivery of M/V Magic Moon, the Company terminated the sale of the vessel under the Memorandum of Agreement, dated March 23, 2023, between the Company and the buyers (the \"MoA\").",
        "label": "Sale of M/V Magic Moon [Member]",
        "terseLabel": "Sale of M/V Magic Moon [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfDebtTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt",
        "label": "Schedule of Debt [Table Text Block]",
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discontinued Operations",
        "label": "Disposal Groups, Including Discontinued Operations [Table Text Block]",
        "documentation": "Tabular disclosure of information related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r9",
      "r15",
      "r50",
      "r56",
      "r57",
      "r58",
      "r59",
      "r60",
      "r64",
      "r66",
      "r67",
      "r107"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Calculation of Basic and Diluted Earnings per Share",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r730"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfEarningsPerShareDilutedByCommonClassTable",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings Per Share [Table]",
        "label": "Earnings Per Share, Diluted, by Common Class, Including Two-Class Method [Table]",
        "documentation": "Disclosure of information about diluted earnings per share by class of stock. Includes, but is not limited to, two-class method."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r24",
      "r206",
      "r207",
      "r214"
     ]
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Annual Principal Payments",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest and Finance Costs",
        "label": "Schedule of Other Nonoperating Income (Expense) [Table Text Block]",
        "documentation": "Tabular disclosure of the components of non-operating income or non-operating expense that may include amounts earned from dividends, interest on securities, gains (losses) on securities sold, equity earnings of unconsolidated affiliates, net gain (loss) on sales of business, interest expense and other miscellaneous income or expense items."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Property, Plant and Equipment [Table]",
        "label": "Property, Plant and Equipment [Table]",
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r427"
     ]
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "documentation": "Disclosure of information about related party transaction."
       }
      }
     },
     "auth_ref": [
      "r44",
      "r45",
      "r575",
      "r576",
      "r579"
     ]
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transactions with Related Parties",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "documentation": "Disclosure of information about profit (loss) and total assets by reportable segment."
       }
      }
     },
     "auth_ref": [
      "r25",
      "r26",
      "r27"
     ]
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Information about Company's Reportable Segments",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss."
       }
      }
     },
     "auth_ref": [
      "r25",
      "r26",
      "r27"
     ]
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfStockByClassTable",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Stock by Class [Table]",
        "documentation": "Disclosure of information about stock by class. Includes, but is not limited to, common, convertible, and preferred stocks."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r34",
      "r35",
      "r36",
      "r37",
      "r38",
      "r110",
      "r113",
      "r114",
      "r115",
      "r158",
      "r159",
      "r160",
      "r224",
      "r324",
      "r325",
      "r327",
      "r329",
      "r332",
      "r337",
      "r339",
      "r517",
      "r518",
      "r519",
      "r520",
      "r653",
      "r704",
      "r719"
     ]
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt and Equity Securities, FV-NI [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r407"
     ]
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Table]",
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r407"
     ]
    },
    "us-gaap_SecuredDebtCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SecuredDebtCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Current portion of long-term debt, net of deferred finance costs",
        "terseLabel": "Current portion of long-term debt, net",
        "label": "Secured Debt, Current",
        "documentation": "Carrying value as of the balance sheet date of the portion of long-term, collateralized debt obligations due within one year or the operating cycle, if longer. Such obligations include mortgage loans, chattel loans, and any other borrowings secured by assets of the borrower."
       }
      }
     },
     "auth_ref": [
      "r69",
      "r121"
     ]
    },
    "us-gaap_SecuredLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SecuredLongTermDebt",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Non-Current portion of long-term debt, net of deferred finance costs",
        "label": "Long-term debt, net",
        "documentation": "Carrying amount of collateralized debt obligations with maturities initially due after one year or beyond the operating cycle, if longer, excluding the current portion. Obligations include, but not limited to, mortgage loans, chattel loans, and other borrowings secured by assets."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "us-gaap_SecurityDeposit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SecurityDeposit",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposit into escrow by buyers",
        "documentation": "The amount of an asset, typically cash, provided to a counterparty to provide certain assurance of performance by the entity pursuant to the terms of a written or oral agreement, such as a lease."
       }
      }
     },
     "auth_ref": [
      "r707"
     ]
    },
    "us-gaap_SegmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentDomain",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments [Domain]",
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r131",
      "r132",
      "r133",
      "r134",
      "r221",
      "r227",
      "r230",
      "r231",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r252",
      "r253",
      "r254",
      "r258",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r282",
      "r283",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r637",
      "r640",
      "r641",
      "r646",
      "r689",
      "r787",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818"
     ]
    },
    "us-gaap_SegmentReportingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentReportingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Information [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingAssetReconcilingItemLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentReportingAssetReconcilingItemLineItems",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, Asset Reconciling Item [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentReportingDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Information",
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments."
       }
      }
     },
     "auth_ref": [
      "r134",
      "r221",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r242",
      "r244",
      "r245",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r258",
      "r636",
      "r638",
      "r639",
      "r640",
      "r642",
      "r643",
      "r644"
     ]
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentReportingInformationLineItems",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Information [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingInformationProfitLossAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentReportingInformationProfitLossAbstract",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segment Information [Abstract]",
        "label": "Segment Reporting Information, Profit (Loss) [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTermLoanFacilityAlphaBankSA2019Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SeniorSecuredTermLoanFacilityAlphaBankSA2019Member",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "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 Term Loan Facility, Alpha Bank S.A., 2019 [Member]",
        "verboseLabel": "$11.0 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTermLoanFacilityAlphaBankSA2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SeniorSecuredTermLoanFacilityAlphaBankSA2021Member",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Alpha Bank S.A (the \"$18.0 Million Term Loan Facility\") on April 27, 2021.",
        "label": "Senior Secured Term Loan Facility, Alpha Bank S.A., 2021 [Member]",
        "terseLabel": "$18.0 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTermLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SeniorSecuredTermLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "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 Term Loan Facility, Chailease International Financial Services (Singapore) Pte. Ltd. [Member]",
        "terseLabel": "$22.5 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTermLoanFacilityDeutscheBankAGMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SeniorSecuredTermLoanFacilityDeutscheBankAGMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior secured term loan facility entered into with Deutsche Bank AG on January 12, 2022.",
        "label": "Senior Secured Term Loan Facility, Deutsche Bank AG [Member]",
        "terseLabel": "$55.0 Million Term Loan Facility [Member]",
        "verboseLabel": "$55.0 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTermLoanFacilityHamburgCommercialBankAGJanuary2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SeniorSecuredTermLoanFacilityHamburgCommercialBankAGJanuary2021Member",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Hamburg Commercial Bank AG (the \"$15.29 Million Term Loan Facility\") on January 22, 2021.",
        "label": "Senior Secured Term Loan Facility, Hamburg Commercial Bank AG, January 2021 [Member]",
        "terseLabel": "$15.29 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTermLoanFacilityHamburgCommercialBankAGJuly2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SeniorSecuredTermLoanFacilityHamburgCommercialBankAGJuly2021Member",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Hamburg Commercial Bank AG (the \"$40.75 Million Term Loan Facility\") on July 23, 2021.",
        "label": "Senior Secured Term Loan Facility, Hamburg Commercial Bank AG, July 2021 [Member]",
        "terseLabel": "$40.75 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SeriesAPreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Series A Preferred Stock [Member]",
        "label": "Series A Preferred Stock [Member]",
        "documentation": "Series A preferred stock."
       }
      }
     },
     "auth_ref": [
      "r709",
      "r710",
      "r762"
     ]
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SeriesBPreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Series B Preferred Shares [Member]",
        "label": "Series B Preferred Shares [Member]",
        "documentation": "Series B preferred stock."
       }
      }
     },
     "auth_ref": [
      "r709",
      "r710",
      "r762"
     ]
    },
    "us-gaap_SeriesDPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SeriesDPreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Series D Preferred Shares [Member]",
        "label": "Series D Preferred Stock [Member]",
        "documentation": "Series D preferred stock."
       }
      }
     },
     "auth_ref": [
      "r709",
      "r710",
      "r762"
     ]
    },
    "us-gaap_SharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Balance (in shares)",
        "periodEndLabel": "Balance (in shares)",
        "label": "Shares, Outstanding",
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Significant Accounting Policies and Recent Accounting Pronouncements",
        "label": "Significant Accounting Policies [Text Block]",
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r180"
     ]
    },
    "ctrm_SnoopyShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SnoopyShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Snoopy Shipping Co. [Member]",
        "terseLabel": "Snoopy Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SongokuShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SongokuShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Songoku Shipping Co [Member]",
        "terseLabel": "Songoku Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SpetsesShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SpetsesShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Spetses Shipping Co [Member]",
        "terseLabel": "Spetses Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StarlordShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "StarlordShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Starlord Shipping Co. [Member]",
        "terseLabel": "Starlord Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementBusinessSegmentsAxis",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments [Axis]",
        "documentation": "Information by business segments."
       }
      }
     },
     "auth_ref": [
      "r131",
      "r132",
      "r133",
      "r134",
      "r148",
      "r221",
      "r227",
      "r230",
      "r231",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r252",
      "r253",
      "r254",
      "r258",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r279",
      "r282",
      "r283",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r637",
      "r640",
      "r641",
      "r646",
      "r689",
      "r787",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818"
     ]
    },
    "us-gaap_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Axis]",
        "documentation": "Information by the different classes of stock of the entity."
       }
      }
     },
     "auth_ref": [
      "r144",
      "r158",
      "r159",
      "r160",
      "r182",
      "r206",
      "r207",
      "r214",
      "r216",
      "r224",
      "r225",
      "r262",
      "r292",
      "r295",
      "r296",
      "r297",
      "r301",
      "r302",
      "r324",
      "r325",
      "r329",
      "r332",
      "r339",
      "r411",
      "r517",
      "r518",
      "r519",
      "r520",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r549",
      "r572",
      "r595",
      "r615",
      "r616",
      "r617",
      "r618",
      "r619",
      "r704",
      "r719",
      "r729"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r78",
      "r81",
      "r82",
      "r147",
      "r167",
      "r168",
      "r169",
      "r188",
      "r189",
      "r190",
      "r192",
      "r197",
      "r199",
      "r201",
      "r223",
      "r263",
      "r264",
      "r277",
      "r341",
      "r365",
      "r366",
      "r370",
      "r371",
      "r372",
      "r374",
      "r375",
      "r376",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r391",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r425",
      "r426",
      "r431",
      "r478",
      "r508",
      "r509",
      "r510",
      "r526",
      "r595"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementLineItems",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r188",
      "r189",
      "r190",
      "r223",
      "r426",
      "r448",
      "r516",
      "r537",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r549",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r568",
      "r573",
      "r574",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r595",
      "r695"
     ]
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY AND MEZZANINE EQUITY [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementTable",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Table]",
        "documentation": "Disclosure of information about statement of comprehensive income, income, other comprehensive income, financial position, cash flows, and shareholders' equity."
       }
      }
     },
     "auth_ref": [
      "r188",
      "r189",
      "r190",
      "r223",
      "r259",
      "r426",
      "r448",
      "r516",
      "r537",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r549",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r568",
      "r573",
      "r574",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r595",
      "r695"
     ]
    },
    "ctrm_StewieShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "StewieShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Stewie Shipping Co. [Member]",
        "terseLabel": "Stewie Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StockIssuedDuringPeriodSharesNewIssuesAtTheMarketOffering": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "StockIssuedDuringPeriodSharesNewIssuesAtTheMarketOffering",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "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 shares pursuant to the ATM Program (Note 10) (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StockIssuedDuringPeriodValueNewIssuesAtTheMarketOffering": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "StockIssuedDuringPeriodValueNewIssuesAtTheMarketOffering",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "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 shares pursuant to the ATM Program (Note 10)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total shareholders' equity",
        "label": "Equity, Attributable to Parent",
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r81",
      "r82",
      "r102",
      "r551",
      "r567",
      "r596",
      "r597",
      "r673",
      "r702",
      "r721",
      "r740",
      "r766",
      "r825"
     ]
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SHAREHOLDERS' EQUITY:",
        "label": "Equity, Attributable to Parent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquityNoteAbstract",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Capital Structure [Abstract]",
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Capital Structure",
        "documentation": "The entire disclosure for equity."
       }
      }
     },
     "auth_ref": [
      "r112",
      "r181",
      "r323",
      "r325",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r338",
      "r341",
      "r390",
      "r598",
      "r600",
      "r620"
     ]
    },
    "us-gaap_StockholdersEquityNoteSpinoffTransaction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquityNoteSpinoffTransaction",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Distribution of net assets of Toro Corp. to shareholders (Note 1)",
        "label": "Stockholders' Equity Note, Spinoff Transaction",
        "documentation": "The change in equity as a result of a spin-off transaction (a regular or reverse spin-off) which is based on the recorded amounts."
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "us-gaap_StockholdersEquityNoteStockSplitConversionRatio1": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquityNoteStockSplitConversionRatio1",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureReverseStockSplitAndWarrantsTenderOfferDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reverse stock split ratio",
        "label": "Reverse stock split ratio",
        "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."
       }
      }
     },
     "auth_ref": [
      "r116"
     ]
    },
    "ctrm_StraightLineAmortizationOfHire": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "StraightLineAmortizationOfHire",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of straight line amortization expense attributable to hires.",
        "label": "Straight Line Amortization of Hire",
        "terseLabel": "Straight line amortization of hire"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SubcontractedManagementAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SubcontractedManagementAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pavimar has subcontracted to third-party management companies to provide technical and operational management to the respective vessels for a fixed annual fee which is paid by Pavimar at its own expense.",
        "label": "Subcontracted Management Agreements [Member]",
        "terseLabel": "Subcontracted Management Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventLineItems",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Line Items]",
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event."
       }
      }
     },
     "auth_ref": [
      "r422",
      "r442"
     ]
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Member]",
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r422",
      "r442"
     ]
    },
    "us-gaap_SubsequentEventTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventTable",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Table]",
        "documentation": "Disclosure of information about significant event or transaction occurring between statement of financial position date and date when financial statements were issued."
       }
      }
     },
     "auth_ref": [
      "r422",
      "r442"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Axis]",
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r422",
      "r442"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Domain]",
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r422",
      "r442"
     ]
    },
    "us-gaap_SubsequentEventsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events",
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business."
       }
      }
     },
     "auth_ref": [
      "r441",
      "r443"
     ]
    },
    "ctrm_SubsidiariesInConsolidationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SubsidiariesInConsolidationAbstract",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsidiaries in Consolidation [Abstract]",
        "terseLabel": "Subsidiaries in Consolidation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SuperMarioShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "SuperMarioShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Super Mario Shipping Co. [Member]",
        "terseLabel": "Super Mario Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TaxesExcludingIncomeAndExciseTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TaxesExcludingIncomeAndExciseTaxes",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tonnage taxes",
        "label": "Taxes, Miscellaneous",
        "documentation": "All taxes not related to income of the entity or excise or sales taxes levied on the revenue of the entity that are not reported elsewhere. These taxes could include production, real estate, personal property, and pump tax."
       }
      }
     },
     "auth_ref": [
      "r713"
     ]
    },
    "ctrm_TechnicalShipmanagementAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "TechnicalShipmanagementAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Company is provided a range of technical, crewing, insurance and operational services for each ship-owning subsidiary in exchange for a fixed daily fee.",
        "label": "Technical Shipmanagement Agreements [Member]",
        "verboseLabel": "Technical Management Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityAbstract",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MEZZANINE EQUITY:",
        "label": "Mezzanine Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityAccretionOfDividends": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityAccretionOfDividends",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deemed dividend on Series D Preferred Shares",
        "documentation": "Value of accretion of temporary equity during the period due to unpaid dividends."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheets",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "verboseLabel": "5.00% Series D fixed rate cumulative perpetual convertible preferred shares: 50,000 shares issued and outstanding as of December 31, 2023, and June 30, 2024, respectively, aggregate liquidation preference of $50,000,000 as of December 31, 2023 and June 30, 2024, respectively",
        "terseLabel": "Mezzanine equity",
        "label": "Temporary Equity, Carrying Amount, Attributable to Parent",
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer."
       }
      }
     },
     "auth_ref": [
      "r292",
      "r295",
      "r296",
      "r297",
      "r301",
      "r302",
      "r361",
      "r468"
     ]
    },
    "us-gaap_TemporaryEquityLiquidationPreference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityLiquidationPreference",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, aggregate liquidation preference",
        "label": "Temporary Equity, Liquidation Preference",
        "documentation": "The aggregate liquidation preference (or restrictions) of stock classified as temporary equity that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquityParOrStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred stock, par value (in dollars per share)",
        "documentation": "Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r32"
     ]
    },
    "us-gaap_TemporaryEquitySharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquitySharesIssued",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred stock issued (in shares)",
        "terseLabel": "Preferred shares, issued (in shares)",
        "documentation": "The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders. Securities issued include securities outstanding and securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer."
       }
      }
     },
     "auth_ref": [
      "r76"
     ]
    },
    "us-gaap_TemporaryEquitySharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TemporaryEquitySharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/UnauditedCondensedConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance (in shares)",
        "periodEndLabel": "Ending balance (in shares)",
        "terseLabel": "Preferred shares, outstanding (in shares)",
        "label": "Temporary Equity, Shares Outstanding",
        "documentation": "The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders. Securities outstanding equals securities issued minus securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer."
       }
      }
     },
     "auth_ref": [
      "r76"
     ]
    },
    "ctrm_ThalassaInvestmentCoSAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ThalassaInvestmentCoSAMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity registered in the Liberia that is wholly-owned and controlled by Petros Panagiotidis, the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Thalassa Investment Co. S.A. [Member]",
        "terseLabel": "Thalassa [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ThirdPartyDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ThirdPartyDebtMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-term debt of the Company.",
        "label": "Third Party Debt [Member]",
        "terseLabel": "Long-Term Debt [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TimeCharterContractTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "TimeCharterContractTerm",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of time charter contract, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Time Charter Contract, Term",
        "terseLabel": "Term of time charters"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TimeCharterMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "TimeCharterMember",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A time charter is a contract to charter a vessel for a fixed period at a set daily rate.",
        "label": "Time Charter [Member]",
        "terseLabel": "Time Charter [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TomShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "TomShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Tom Shipping Co [Member]",
        "terseLabel": "Tom Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ToroCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ToroCorpMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/DiscontinuedOperationsDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Toro Corp [Member]",
        "terseLabel": "Toro [Member]",
        "verboseLabel": "Toro Corp [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ToroRBXCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "ToroRBXCorpMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Toro RBX Corp [Member]",
        "terseLabel": "Toro RBX Corp. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TradingSecuritiesAndCertainTradingAssetsTextBlock",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment in Equity Securities",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Table Text Block]",
        "documentation": "Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r407"
     ]
    },
    "ctrm_VesselDeadWeightTonnage": {
     "xbrltype": "massItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselDeadWeightTonnage",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselDeliveryDateMonthAndYear": {
     "xbrltype": "gYearMonthItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselDeliveryDateMonthAndYear",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The month and year (YYYY-MM) the vessel was delivered to the entity.",
        "label": "Vessel, Delivery Date, Month and Year",
        "terseLabel": "Delivery date to Castor"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselName",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of vessel.",
        "label": "Vessel, Name",
        "terseLabel": "Vessel name"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselOperatingAndVoyageExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselOperatingAndVoyageExpensesTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for vessel operating expenses and voyage expenses.",
        "label": "Vessel Operating and Voyage Expenses [Text Block]",
        "terseLabel": "Vessel Operating Expenses and Voyage Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselOperatingExpensesAndVoyageExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselOperatingExpensesAndVoyageExpensesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessel Operating Expenses and Voyage Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselOperatingExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselOperatingExpensesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of vessel operating expenses.",
        "label": "Vessel Operating Expenses [Table Text Block]",
        "terseLabel": "Vessel Operating Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselOwningSubsidiariesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselOwningSubsidiariesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries owning vessels.",
        "label": "Vessel Owning Subsidiaries [Table Text Block]",
        "terseLabel": "Consolidated Vessel Owning Subsidiaries"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselRepairAndMaintenanceExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselRepairAndMaintenanceExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating expenses for vessel repair and maintenance, spares, stores, classification, chemicals and gases, paints and victualling.",
        "label": "Vessel Repair and Maintenance Expenses",
        "terseLabel": "Repairs &amp; maintenance, spares, stores, classification, chemicals &amp; gases, paints, victualling"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselYearBuilt": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselYearBuilt",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The year in which the vessel was built.",
        "label": "Vessel, Year Built",
        "terseLabel": "Year built"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselsHeldForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselsHeldForSaleMember",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleAssetsHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessels held for sale, including the M/V Magic Orion, M/V Magic Venus, M/V Magic Nova and M/V Magic Horizon.",
        "label": "Vessels Held For Sale [Member]",
        "terseLabel": "Assets Held For Sale [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Watercraft used as a means of transportation on water.",
        "label": "Vessels [Member]",
        "terseLabel": "Vessels [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselsMortgagedAsCollateralMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VesselsMortgagedAsCollateralMember",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleDisposalOfVesselsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessels that were first priority mortgaged as collateral to their loan facilities.",
        "label": "Vessels Mortgaged as Collateral [Member]",
        "terseLabel": "Vessels Mortgaged as Collateral [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VisionShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VisionShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Vision Shipping Co. [Member]",
        "terseLabel": "Vision Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageCharterMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VoyageCharterMember",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A voyage charter is a contract to charter a vessel for a fixed amount per ton of cargo carried.",
        "label": "Voyage Charter [Member]",
        "terseLabel": "Voyage Charter [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VoyageExpenseAbstract",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Voyage Expense [Abstract]",
        "terseLabel": "Voyage Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VoyageExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Voyage expenses consist of: (a) port, canal and bunker expenses that are unique to a particular charter which are paid for by the charterer under the time charter arrangements or by the Company under voyage charter arrangements, and (b) brokerage commissions, which are always paid for by the Company, regardless of charter type.",
        "label": "Voyage Expenses",
        "negatedTerseLabel": "Voyage expenses (including charges from related party)",
        "negatedLabel": "Voyage expenses (including $655,431 and $463,672 to related party for the six months ended June 30, 2023, and 2024, respectively)",
        "terseLabel": "Voyage expenses",
        "totalLabel": "Total Voyage expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "VoyageExpensesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of voyage expenses.",
        "label": "Voyage Expenses [Table Text Block]",
        "terseLabel": "Voyage Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberDilutedSharesOutstandingAdjustment",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effect of dilutive shares (in shares)",
        "documentation": "The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation."
       }
      }
     },
     "auth_ref": [
      "r730"
     ]
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted average number of common shares, diluted (in shares)",
        "totalLabel": "Weighted average number of common shares outstanding, diluted (in shares)",
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period."
       }
      }
     },
     "auth_ref": [
      "r205",
      "r216"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/UnauditedInterimCondensedConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average number of common shares, basic (in shares)",
        "label": "Weighted average number of common shares outstanding, basic (in shares)",
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period."
       }
      }
     },
     "auth_ref": [
      "r203",
      "r216"
     ]
    },
    "ctrm_WonderAviorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WonderAviorMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,162 dwt.",
        "label": "Wonder Avior [Member]",
        "verboseLabel": "M/T Wonder Avior [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderBellatrixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WonderBellatrixMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,341 dwt.",
        "label": "Wonder Bellatrix [Member]",
        "verboseLabel": "M/T Wonder Bellatrix [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderFormosaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WonderFormosaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 36,660 dwt.",
        "label": "Wonder Formosa [Member]",
        "verboseLabel": "M/T Wonder Formosa [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderMimosaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WonderMimosaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 36,718 dwt.",
        "label": "Wonder Mimosa [Member]",
        "verboseLabel": "M/T Wonder Mimosa [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderMusicaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WonderMusicaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,290 dwt.",
        "label": "Wonder Musica [Member]",
        "verboseLabel": "M/T Wonder Musica [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderPolarisMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WonderPolarisMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,351 dwt.",
        "label": "Wonder Polaris [Member]",
        "terseLabel": "M/T Wonder Polaris [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderSiriusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WonderSiriusMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,341 dwt.",
        "label": "Wonder Sirius [Member]",
        "verboseLabel": "M/T Wonder Sirius [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderVegaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WonderVegaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,062 dwt.",
        "label": "Wonder Vega [Member]",
        "verboseLabel": "M/T Wonder Vega [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WorkingCapitalAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WorkingCapitalAdvancesMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Working capital advances made to Pavimar and its subcontractor third-party managers for operating expenses paid in advance.",
        "label": "Working Capital Advances [Member]",
        "terseLabel": "Working Capital Advances [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WorkingCapitalGuaranteeAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "WorkingCapitalGuaranteeAdvancesMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amended Castor Ship Management Agreements provide for an advance funding equal to one month of vessel daily operating costs to be placed with Castor Ships as working capital guarantee, refundable in case a vessel is no longer under Castor Ship's management.",
        "label": "Working Capital Guarantee Advances [Member]",
        "terseLabel": "Working Capital Guarantee Advances [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_XavierShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20240630",
     "localname": "XavierShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Xavier Shipping Co. [Member]",
        "terseLabel": "Xavier Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "230",
   "Topic": "830",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477401/830-230-45-1"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "SubTopic": "405",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477787/942-405-45-2"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "470",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-1"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "20",
   "Topic": "205",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-1"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "SubTopic": "10",
   "Topic": "280",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-4"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483475/205-20-45-6"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483475/205-20-45-7"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-3"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "S99",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480781/205-20-S99-3"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-5"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-4"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-3"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-11"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-52"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "480",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481142/505-10-45-2"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-10"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-3"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-4"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-5"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-8"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "60",
   "Section": "25",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481423/505-60-25-2"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-1"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/205/tableOfContent"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/205-20/tableOfContent"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483475/205-20-45-11"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483475/205-20-45-3"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483475/205-20-45-3A"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483475/205-20-45-3B"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483475/205-20-45-4"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-1"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-3A"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-4A"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-4B"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5A"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5B"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5B"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5B"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5B"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5C"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5C"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5D"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-7"
  },
  "r68": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(31))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(32))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-13"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "235",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/235/tableOfContent"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 4.E)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480418/310-10-S99-2"
  },
  "r103": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/360/tableOfContent"
  },
  "r104": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "15",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482309/360-10-15-4"
  },
  "r105": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482130/360-10-45-15"
  },
  "r106": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r107": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3A"
  },
  "r108": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/440/tableOfContent"
  },
  "r109": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/470/tableOfContent"
  },
  "r110": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r111": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 3.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-2"
  },
  "r112": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/505/tableOfContent"
  },
  "r113": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-6"
  },
  "r114": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-7"
  },
  "r115": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r116": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "4",
   "Subparagraph": "(SAB Topic 4.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-4"
  },
  "r117": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/810/tableOfContent"
  },
  "r118": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-19"
  },
  "r119": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r120": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r121": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r122": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r123": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r124": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r125": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r126": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r127": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r128": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r129": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/942-320/tableOfContent"
  },
  "r130": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "470",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r131": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r132": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r133": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r134": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "321",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479567/321-10-45-1"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-16"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "SubTopic": "20",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482659/740-20-45-2"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "SubTopic": "210",
   "Topic": "954",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477220/954-210-45-5"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477798/958-360-50-1"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477798/958-360-50-6"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477798/958-360-50-7"
  },
  "r142": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h))",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r143": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Topic": "606",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/606/tableOfContent"
  },
  "r144": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r145": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r146": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1403",
   "Paragraph": "b",
   "Publisher": "SEC"
  },
  "r147": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r148": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-1"
  },
  "r149": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5C"
  },
  "r150": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-7"
  },
  "r151": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r152": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-5"
  },
  "r153": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r154": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r155": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r156": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r157": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r158": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r159": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r160": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r161": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r162": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r163": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1A"
  },
  "r164": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1A"
  },
  "r165": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1B"
  },
  "r166": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1B"
  },
  "r167": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-4"
  },
  "r168": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-5"
  },
  "r169": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-6"
  },
  "r170": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r171": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r172": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r174": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r175": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 6.B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-5"
  },
  "r176": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-19"
  },
  "r177": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-2"
  },
  "r178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-8"
  },
  "r180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-1"
  },
  "r181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-3"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-4"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-8"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-9"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/260/tableOfContent"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-10"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-11"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-16"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-2"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-3"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-7"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-2"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-3"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-15"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-6A"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-1"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482987/272-10-50-1"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482987/272-10-50-3"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/280/tableOfContent"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-15"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-21"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-21"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26A"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26B"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26C"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "34",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-34"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "40",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-40"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-42"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-13"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/320/tableOfContent"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-10"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-5"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "340",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479483/340-40-50-3"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "340",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479483/340-40-50-3"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-3"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476166/350-60-65-1"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482017/420-10-50-1"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482017/420-10-50-1"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 5.P.4.d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479823/420-10-S99-2"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-1"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-4"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482425/460-10-50-3"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1I"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-6"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-16"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-3"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479837/606-10-45-1"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479837/606-10-45-2"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-10"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-12"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-12"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-12"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-12"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-12"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-13"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-15"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-8"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-9"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-5"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.E.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479830/718-10-S99-1"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "720",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483359/720-20-50-1"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-10"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482659/740-20-45-2"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "270",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477349/740-270-45-3"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-19"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-1A"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-1A"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480237/815-40-50-6"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2E"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r410": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482736/825-10-45-1A"
  },
  "r411": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481839/830-10-45-17"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482014/830-20-35-1"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481956/830-20-45-1"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481926/830-20-50-1"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-17"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r419": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r420": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r421": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-1"
  },
  "r422": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-2"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r424": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r425": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479832/842-10-65-8"
  },
  "r426": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "12A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479165/842-20-35-12A"
  },
  "r427": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r428": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479016/842-30-45-3"
  },
  "r429": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479773/842-30-50-12"
  },
  "r430": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479773/842-30-50-5"
  },
  "r431": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r432": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/850/tableOfContent"
  },
  "r433": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r435": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r436": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r437": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-2"
  },
  "r438": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r439": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-6"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481435/852-10-45-14"
  },
  "r441": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/855/tableOfContent"
  },
  "r442": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r446": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-9"
  },
  "r447": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "910",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482546/910-10-50-6"
  },
  "r448": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "924",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 11.L)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479941/924-10-S99-1"
  },
  "r449": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478934/932-220-50-1"
  },
  "r450": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-15"
  },
  "r451": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-20"
  },
  "r452": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-28"
  },
  "r453": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "33",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-33"
  },
  "r454": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "35A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-35A"
  },
  "r455": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478988/932-323-50-1"
  },
  "r457": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "940",
   "SubTopic": "820",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478119/940-820-50-1"
  },
  "r458": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r459": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r460": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r461": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478451/942-360-50-1"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(1)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r463": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r464": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r465": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r466": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r467": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r468": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r469": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r470": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r471": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r472": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r473": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r474": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r475": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r476": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r477": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r478": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r479": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r480": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r481": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r482": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(d)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r483": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r484": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r485": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r486": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r488": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r489": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r490": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r491": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r492": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r493": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r494": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r495": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column J))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r496": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column K))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r498": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r499": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r500": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r502": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r503": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4E"
  },
  "r504": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r505": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r506": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r507": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-9"
  },
  "r508": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r509": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r510": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r511": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r512": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r513": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.W.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479583/944-40-S99-1"
  },
  "r514": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-1"
  },
  "r515": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-2"
  },
  "r516": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r517": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r518": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r519": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r520": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r521": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-11"
  },
  "r522": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-2"
  },
  "r523": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-5"
  },
  "r524": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-6"
  },
  "r525": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-3"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r527": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-2"
  },
  "r528": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-27"
  },
  "r529": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r530": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r531": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r532": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r534": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r535": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r536": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r537": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477796/946-210-45-4"
  },
  "r538": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r539": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r540": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r541": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r542": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r543": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r544": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r545": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r546": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r547": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r548": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r549": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r550": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r551": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r552": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r553": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r554": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r555": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r556": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r557": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r558": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r559": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r560": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r561": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r562": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r563": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r564": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r565": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r567": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r568": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r569": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-6"
  },
  "r570": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-6"
  },
  "r571": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-7"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478297/946-220-50-3"
  },
  "r573": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r574": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r576": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r577": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r578": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r579": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r580": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r581": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r582": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r583": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r584": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r585": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r586": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r587": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r588": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r589": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r590": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r591": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r592": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r593": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r594": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r595": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r596": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r597": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r598": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r599": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r600": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r601": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r602": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r603": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r604": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r605": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r606": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r607": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r608": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r609": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r610": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r611": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r612": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r613": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r614": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r615": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-1"
  },
  "r616": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r617": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-6"
  },
  "r621": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478522/954-440-50-1"
  },
  "r622": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r623": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "976",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477332/976-310-50-1"
  },
  "r624": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "978",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479230/978-310-50-1"
  },
  "r625": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "985",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481283/985-20-50-2"
  },
  "r626": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r627": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(a)",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-13H"
  },
  "r628": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r629": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r630": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r631": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-16"
  },
  "r632": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-21"
  },
  "r633": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-22"
  },
  "r634": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-52"
  },
  "r635": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r636": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r637": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r638": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r639": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r640": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "48",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-48"
  },
  "r641": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "49",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-49"
  },
  "r642": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r643": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r644": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r645": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481933/310-10-55-12A"
  },
  "r646": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482548/350-20-55-24"
  },
  "r647": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482395/460-10-55-27"
  },
  "r648": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r649": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69B"
  },
  "r650": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69C"
  },
  "r651": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69E"
  },
  "r652": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69F"
  },
  "r653": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r654": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r655": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r656": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r657": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r658": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r659": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r660": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r661": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480547/715-80-55-8"
  },
  "r662": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "231",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482663/740-10-55-231"
  },
  "r663": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481175/810-10-55-4J"
  },
  "r664": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481175/810-10-55-4K"
  },
  "r665": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r666": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r667": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "102",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-102"
  },
  "r668": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "103",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-103"
  },
  "r669": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r670": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r671": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r672": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482949/835-30-55-8"
  },
  "r673": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481372/852-10-55-10"
  },
  "r674": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-12"
  },
  "r675": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-17"
  },
  "r676": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-21"
  },
  "r677": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-29"
  },
  "r678": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-3"
  },
  "r679": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "34",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-34"
  },
  "r680": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-2"
  },
  "r681": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-3"
  },
  "r682": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-4"
  },
  "r683": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-5"
  },
  "r684": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-6"
  },
  "r685": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-7"
  },
  "r686": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479401/944-30-55-2"
  },
  "r687": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-29F"
  },
  "r688": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r689": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r690": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9E"
  },
  "r691": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480078/944-80-55-18"
  },
  "r692": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r693": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r694": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477439/946-210-55-1"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r696": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r697": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r698": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r699": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r700": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-10"
  },
  "r701": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-11"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-12"
  },
  "r703": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r704": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-3"
  },
  "r705": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "321",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-1"
  },
  "r706": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r707": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r708": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r709": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r710": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r711": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r712": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-6"
  },
  "r713": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r714": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r715": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r716": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r717": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r718": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-8"
  },
  "r719": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r720": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r721": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r722": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r723": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r724": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r725": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r726": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r727": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r728": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r729": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "55",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-55"
  },
  "r730": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r731": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r732": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-18"
  },
  "r733": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r734": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r735": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r736": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r737": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r738": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-2"
  },
  "r739": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-4"
  },
  "r740": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r741": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482130/360-10-45-5"
  },
  "r742": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r743": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/405/tableOfContent"
  },
  "r744": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/405-30/tableOfContent"
  },
  "r745": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r746": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r747": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r748": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "410",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481931/410-30-50-10"
  },
  "r749": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/450/tableOfContent"
  },
  "r750": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-1"
  },
  "r751": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-4"
  },
  "r752": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r753": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r754": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r755": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r756": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r757": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r758": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r759": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r760": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r761": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r762": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r763": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r764": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r765": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r766": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r767": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "830",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481956/830-20-45-1"
  },
  "r768": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "830",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481926/830-20-50-1"
  },
  "r769": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-1A"
  },
  "r770": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r771": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r772": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479773/842-30-50-12"
  },
  "r773": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r774": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r775": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r776": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r777": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r778": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r779": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r780": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r781": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r782": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "940",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/940-320/tableOfContent"
  },
  "r783": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r784": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r785": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r786": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r787": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479432/944-30-50-2B"
  },
  "r788": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477363/944-310-50-3"
  },
  "r789": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477363/944-310-50-3"
  },
  "r790": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477363/944-310-50-3"
  },
  "r791": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r792": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r793": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4C"
  },
  "r794": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4D"
  },
  "r795": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4G",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4G"
  },
  "r796": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r797": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r798": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r799": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r800": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r801": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r802": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r803": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r804": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r805": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r806": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r807": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r808": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r809": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r810": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r811": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r812": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r813": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r814": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r815": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r816": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r817": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r818": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r819": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r820": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r821": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r822": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r823": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r824": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r825": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r826": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  }
 }
}
