{
 "version": "2.2",
 "instance": {
  "rbb20230930_10q.htm": {
   "nsprefix": "rbb",
   "nsuri": "http://www.royalbusinessbankusa.com/20230930",
   "dts": {
    "schema": {
     "local": [
      "rbb-20230930.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-roles-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-types-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-types-2023.xsd",
      "https://xbrl.sec.gov/country/2023/country-2023.xsd",
      "https://xbrl.sec.gov/currency/2023/currency-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023.xsd",
      "https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd",
      "https://xbrl.sec.gov/exch/2023/exch-2023.xsd",
      "https://xbrl.sec.gov/naics/2023/naics-2023.xsd",
      "https://xbrl.sec.gov/sic/2023/sic-2023.xsd",
      "https://xbrl.sec.gov/stpr/2023/stpr-2023.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "rbb-20230930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "rbb-20230930_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "rbb-20230930_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "rbb-20230930_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "rbb20230930_10q.htm"
     ]
    }
   },
   "keyStandard": 423,
   "keyCustom": 107,
   "axisStandard": 40,
   "axisCustom": 0,
   "memberStandard": 62,
   "memberCustom": 53,
   "hidden": {
    "total": 69,
    "http://xbrl.sec.gov/ecd/2023": 4,
    "http://fasb.org/us-gaap/2023": 48,
    "http://www.royalbusinessbankusa.com/20230930": 11,
    "http://xbrl.sec.gov/dei/2023": 6
   },
   "contextCount": 622,
   "entityCount": 1,
   "segmentCount": 132,
   "elementCount": 808,
   "unitCount": 7,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2023": 2747,
    "http://xbrl.sec.gov/dei/2023": 29,
    "http://xbrl.sec.gov/ecd/2023": 5
   },
   "report": {
    "R1": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information",
     "longName": "000 - Document - Document And Entity Information",
     "shortName": "Document And Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
     "longName": "001 - Statement - Consolidated Balance Sheets (Current Period Unaudited)",
     "shortName": "Consolidated Balance Sheets (Current Period Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:CashAndDueFromBanks",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:CashAndDueFromBanks",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
     "longName": "002 - Statement - Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)",
     "shortName": "Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": null,
     "uniqueAnchor": null
    },
    "R4": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
     "longName": "003 - Statement - Consolidated Statements of Income (Unaudited)",
     "shortName": "Consolidated Statements of Income (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
     "longName": "004 - Statement - Consolidated Statements of Comprehensive Income (Unaudited)",
     "shortName": "Consolidated Statements of Comprehensive Income (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
     "longName": "005 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited)",
     "shortName": "Consolidated Statements of Changes in Shareholders' Equity (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "i_2021-12-31_StatementEquityComponentsAxis-CommonStockMember",
      "name": "us-gaap:CommonStockSharesOutstanding",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2021-12-31_StatementEquityComponentsAxis-CommonStockMember",
      "name": "us-gaap:CommonStockSharesOutstanding",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
     "longName": "006 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parentheticals)",
     "shortName": "Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parentheticals)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "7",
     "firstAnchor": null,
     "uniqueAnchor": null
    },
    "R8": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
     "longName": "007 - Statement - Consolidated Statements of Cash Flows (Unaudited)",
     "shortName": "Consolidated Statements of Cash Flows (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "8",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:DepreciationAndAmortizationOfPremisesAndEquipment",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description",
     "longName": "008 - Disclosure - Note 1 - Business Description",
     "shortName": "Note 1 - Business Description",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:NatureOfOperations",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:NatureOfOperations",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
     "longName": "009 - Disclosure - Note 2 - Basis of Presentation and Summary of Significant Accounting Policies",
     "shortName": "Note 2 - Basis of Presentation and Summary of Significant Accounting Policies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
     "longName": "010 - Disclosure - Note 3 - Acquisitions",
     "shortName": "Note 3 - Acquisitions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
     "longName": "011 - Disclosure - Note 4 - Investment Securities",
     "shortName": "Note 4 - Investment Securities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses",
     "longName": "012 - Disclosure - Note 5 - Loans and Allowance for Credit Losses",
     "shortName": "Note 5 - Loans and Allowance for Credit Losses",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
     "longName": "013 - Disclosure - Note 6 - Loan Servicing",
     "shortName": "Note 6 - Loan Servicing",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:LoanServicingTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:LoanServicingTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
     "longName": "014 - Disclosure - Note 7 - Goodwill and Intangibles",
     "shortName": "Note 7 - Goodwill and Intangibles",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits",
     "longName": "015 - Disclosure - Note 8 - Deposits",
     "shortName": "Note 8 - Deposits",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
     "longName": "016 - Disclosure - Note 9 - Long-term Debt",
     "shortName": "Note 9 - Long-term Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
     "longName": "017 - Disclosure - Note 10 - Subordinated Debentures",
     "shortName": "Note 10 - Subordinated Debentures",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:SubordinatedBorrowingsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:SubordinatedBorrowingsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
     "longName": "018 - Disclosure - Note 11 - Borrowing Arrangements",
     "shortName": "Note 11 - Borrowing Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes",
     "longName": "019 - Disclosure - Note 12 - Income Taxes",
     "shortName": "Note 12 - Income Taxes",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-",
     "longName": "020 - Disclosure - Note 13 - Commitments",
     "shortName": "Note 13 - Commitments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:CommitmentsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:CommitmentsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases",
     "longName": "021 - Disclosure - Note 14 - Leases",
     "shortName": "Note 14 - Leases",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
     "longName": "022 - Disclosure - Note 15 - Related Party Transactions",
     "shortName": "Note 15 - Related Party Transactions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
     "longName": "023 - Disclosure - Note 16 - Stock-based Compensation",
     "shortName": "Note 16 - Stock-based Compensation",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
     "longName": "024 - Disclosure - Note 17 - Regulatory Matters",
     "shortName": "Note 17 - Regulatory Matters",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
     "longName": "025 - Disclosure - Note 18 - Fair Value Measurements and Fair Value of Financial Instruments",
     "shortName": "Note 18 - Fair Value Measurements and Fair Value of Financial Instruments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
     "longName": "026 - Disclosure - Note 19 - Earnings Per Share",
     "shortName": "Note 19 - Earnings Per Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "27",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers",
     "longName": "027 - Disclosure - Note 20 - Revenue From Contracts With Customers",
     "shortName": "Note 20 - Revenue From Contracts With Customers",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "28",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
     "longName": "028 - Disclosure - Note 21 - Qualified Affordable Housing Project Investments",
     "shortName": "Note 21 - Qualified Affordable Housing Project Investments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "29",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:AffordableHousingProgramTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:AffordableHousingProgramTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
     "longName": "029 - Disclosure - Note 22 - Subsequent Events",
     "shortName": "Note 22 - Subsequent Events",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "30",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
     "longName": "995445 - Disclosure - Insider Trading Arrangements",
     "shortName": "Insider Trading Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "31",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "ecd:MtrlTermsOfTrdArrTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "ecd:MtrlTermsOfTrdArrTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies",
     "longName": "995476 - Disclosure - Significant Accounting Policies (Policies)",
     "shortName": "Significant Accounting Policies (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "32",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables",
     "longName": "995477 - Disclosure - Note 2 - Basis of Presentation and Summary of Significant Accounting Policies (Tables)",
     "shortName": "Note 2 - Basis of Presentation and Summary of Significant Accounting Policies (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "33",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables",
     "longName": "995478 - Disclosure - Note 3 - Acquisitions (Tables)",
     "shortName": "Note 3 - Acquisitions (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "34",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30_BusinessAcquisitionAxis-PGBHoldingsIncMember",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30_BusinessAcquisitionAxis-PGBHoldingsIncMember",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables",
     "longName": "995479 - Disclosure - Note 4 - Investment Securities (Tables)",
     "shortName": "Note 4 - Investment Securities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "35",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables",
     "longName": "995480 - Disclosure - Note 5 - Loans and Allowance for Credit Losses (Tables)",
     "shortName": "Note 5 - Loans and Allowance for Credit Losses (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "36",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-tables",
     "longName": "995481 - Disclosure - Note 6 - Loan Servicing (Tables)",
     "shortName": "Note 6 - Loan Servicing (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "37",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:MortgageAndSmallBusinessAdministrationLoansServicedForOthersTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "rbb:LoanServicingTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:MortgageAndSmallBusinessAdministrationLoansServicedForOthersTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "rbb:LoanServicingTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-tables",
     "longName": "995482 - Disclosure - Note 7 - Goodwill and Intangibles (Tables)",
     "shortName": "Note 7 - Goodwill and Intangibles (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "38",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-tables",
     "longName": "995483 - Disclosure - Note 8 - Deposits (Tables)",
     "shortName": "Note 8 - Deposits (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "39",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:TimeDepositMaturitiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:TimeDepositMaturitiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-tables",
     "longName": "995484 - Disclosure - Note 9 - Long-term Debt (Tables)",
     "shortName": "Note 9 - Long-term Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "40",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-tables",
     "longName": "995485 - Disclosure - Note 13 - Commitments (Tables)",
     "shortName": "Note 13 - Commitments (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "41",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:CommitmentsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:CommitmentsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-tables",
     "longName": "995486 - Disclosure - Note 14 - Leases (Tables)",
     "shortName": "Note 14 - Leases (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "42",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-tables",
     "longName": "995487 - Disclosure - Note 15 - Related Party Transactions (Tables)",
     "shortName": "Note 15 - Related Party Transactions (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "43",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables",
     "longName": "995488 - Disclosure - Note 16 - Stock-based Compensation (Tables)",
     "shortName": "Note 16 - Stock-based Compensation (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "44",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-tables",
     "longName": "995489 - Disclosure - Note 17 - Regulatory Matters (Tables)",
     "shortName": "Note 17 - Regulatory Matters (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "45",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables",
     "longName": "995490 - Disclosure - Note 18 - Fair Value Measurements and Fair Value of Financial Instruments (Tables)",
     "shortName": "Note 18 - Fair Value Measurements and Fair Value of Financial Instruments (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "46",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-tables",
     "longName": "995491 - Disclosure - Note 19 - Earnings Per Share (Tables)",
     "shortName": "Note 19 - Earnings Per Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "47",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-tables",
     "longName": "995492 - Disclosure - Note 20 - Revenue From Contracts With Customers (Tables)",
     "shortName": "Note 20 - Revenue From Contracts With Customers (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "48",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RevenueFromContractWithCustomerTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RevenueFromContractWithCustomerTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual",
     "longName": "995493 - Disclosure - Note 1 - Business Description (Details Textual)",
     "shortName": "Note 1 - Business Description (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "49",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:Assets",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "rbb:LoansHeldForInvestmentAndHeldForSaleGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-8",
      "ancestors": [
       "p",
       "us-gaap:NatureOfOperations",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
     "longName": "995494 - Disclosure - Note 2 - Basis of Presentation and Summary of Significant Accounting Policies (Details Textual)",
     "shortName": "Note 2 - Basis of Presentation and Summary of Significant Accounting Policies (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "50",
     "firstAnchor": {
      "contextRef": "d_2022-01-01_2022-01-01_AdjustmentsForNewAccountingPronouncementsAxis-AccountingStandardsUpdate201613Member_CumulativeEffectPeriodOfAdoptionAxis-CumulativeEffectPeriodOfAdoptionAdjustmentMember",
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2022-01-01_2022-01-01_AdjustmentsForNewAccountingPronouncementsAxis-AccountingStandardsUpdate201613Member_CumulativeEffectPeriodOfAdoptionAxis-CumulativeEffectPeriodOfAdoptionAdjustmentMember",
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
     "longName": "995495 - Disclosure - Note 2 - Basis of Presentation and Summary of Significant Accounting Policies - Schedule of New Accounting Pronouncements (Details)",
     "shortName": "Note 2 - Basis of Presentation and Summary of Significant Accounting Policies - Schedule of New Accounting Pronouncements (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "51",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2021-12-31",
      "name": "us-gaap:DeferredIncomeTaxAssetsNet",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
     "longName": "995496 - Disclosure - Note 3 - Acquisitions (Details Textual)",
     "shortName": "Note 3 - Acquisitions (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "52",
     "firstAnchor": {
      "contextRef": "i_2022-01-14",
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-01-14_BusinessAcquisitionAxis-AcquisitionOfTheHonoluluHawaiiBranchOfficeOfTheBankOfTheOrientMember",
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
     "longName": "995497 - Disclosure - Note 3 - Acquisitions - Assets Acquired and Liabilities Assumed, and Fair Value Adjustments (Details)",
     "shortName": "Note 3 - Acquisitions - Assets Acquired and Liabilities Assumed, and Fair Value Adjustments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "53",
     "firstAnchor": {
      "contextRef": "i_2022-01-14",
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-01-14",
      "name": "rbb:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansReceivable",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual",
     "longName": "995498 - Disclosure - Note 4 - Investment Securities (Details Textual)",
     "shortName": "Note 4 - Investment Securities (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "54",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
     "longName": "995499 - Disclosure - Note 4 - Investment Securities - Amortized Cost and Fair Value of Available for Sale Securities and Held to Maturity Securities (Details)",
     "shortName": "Note 4 - Investment Securities - Amortized Cost and Fair Value of Available for Sale Securities and Held to Maturity Securities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "55",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "rbb:ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturityTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "rbb:ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturityTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
     "longName": "995500 - Disclosure - Note 4 - Investment Securities - Expected Maturities (Details)",
     "shortName": "Note 4 - Investment Securities - Expected Maturities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "56",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details",
     "longName": "995501 - Disclosure - Note 4 - Investment Securities - Summary of Investment Securities with Unrealized Losses (Details)",
     "shortName": "Note 4 - Investment Securities - Summary of Investment Securities with Unrealized Losses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "57",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual",
     "longName": "995502 - Disclosure - Note 5 - Loans and Allowance for Credit Losses (Details Textual)",
     "shortName": "Note 5 - Loans and Allowance for Credit Losses (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "58",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details",
     "longName": "995503 - Disclosure - Note 5 - Loans and Allowance for Credit Losses - Schedule of Loans (Details)",
     "shortName": "Note 5 - Loans and Allowance for Credit Losses - Schedule of Loans (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "59",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:NotesReceivableGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R60": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
     "longName": "995504 - Disclosure - Note 5 - Loans and Allowance for Credit Losses - Allowance for Loan Losses (Details)",
     "shortName": "Note 5 - Loans and Allowance for Credit Losses - Allowance for Loan Losses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "i_2023-06-30",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:ProvisionForLoanLossesExpensed",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
     "longName": "995505 - Disclosure - Note 5 - Loans and Allowance for Credit Losses - Risk Category of Loans (Details)",
     "shortName": "Note 5 - Loans and Allowance for Credit Losses - Risk Category of Loans (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
     "longName": "995506 - Disclosure - Note 5 - Loans and Allowance for Credit Losses - Aging of Recorded Investment (Details)",
     "shortName": "Note 5 - Loans and Allowance for Credit Losses - Aging of Recorded Investment (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:NotesReceivableGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30_FinancingReceivablesPeriodPastDueAxis-FinancingReceivables30To59DaysPastDueMember",
      "name": "us-gaap:NotesReceivableGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
     "longName": "995507 - Disclosure - Note 5 - Loans and Allowance for Credit Losses - Schedule of Financing Receivables, Nonaccrual Status (Details)",
     "shortName": "Note 5 - Loans and Allowance for Credit Losses - Schedule of Financing Receivables, Nonaccrual Status (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:FinancingReceivableNonaccrualNoAllowance",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:FinancingReceivableNonaccrualNoAllowance",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
     "longName": "995508 - Disclosure - Note 6 - Loan Servicing (Details Textual)",
     "shortName": "Note 6 - Loan Servicing (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:ServicingAsset",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31_LongtermDebtTypeAxis-MortgagesMember",
      "name": "us-gaap:ServicingAsset",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "rbb:LoanServicingTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R65": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details",
     "longName": "995509 - Disclosure - Note 6 - Loan Servicing - Schedule of Principal Balances of Mortgage and SBA Loans Serviced for Others (Details)",
     "shortName": "Note 6 - Loan Servicing - Schedule of Principal Balances of Mortgage and SBA Loans Serviced for Others (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "65",
     "firstAnchor": {
      "contextRef": "i_2023-09-30_LongtermDebtTypeAxis-MortgagesMember",
      "name": "rbb:LoansServicedForOthers",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "rbb:MortgageAndSmallBusinessAdministrationLoansServicedForOthersTableTextBlock",
       "rbb:LoanServicingTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30_LongtermDebtTypeAxis-MortgagesMember",
      "name": "rbb:LoansServicedForOthers",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "rbb:MortgageAndSmallBusinessAdministrationLoansServicedForOthersTableTextBlock",
       "rbb:LoanServicingTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R66": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
     "longName": "995510 - Disclosure - Note 6 - Loan Servicing - Schedule of Amortization of Mortgage Servicing Rights Netted Against Loan Servicing Fee Income (Details)",
     "shortName": "Note 6 - Loan Servicing - Schedule of Amortization of Mortgage Servicing Rights Netted Against Loan Servicing Fee Income (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "66",
     "firstAnchor": {
      "contextRef": "i_2023-06-30_LongtermDebtTypeAxis-MortgagesMember",
      "name": "us-gaap:ServicingAssetAtAmortizedValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtAmortizedValueTextBlock",
       "rbb:LoanServicingTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-06-30_LongtermDebtTypeAxis-MortgagesMember",
      "name": "us-gaap:ServicingAssetAtAmortizedValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtAmortizedValueTextBlock",
       "rbb:LoanServicingTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R67": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual",
     "longName": "995511 - Disclosure - Note 7 - Goodwill and Intangibles (Details Textual)",
     "shortName": "Note 7 - Goodwill and Intangibles (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:Goodwill",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31_FiniteLivedIntangibleAssetsByMajorClassAxis-CoreDepositsMember",
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R68": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
     "longName": "995512 - Disclosure - Note 7 - Goodwill and Intangible Assets - Maturity Schedule for Amortization Expense (Details)",
     "shortName": "Note 7 - Goodwill and Intangible Assets - Maturity Schedule for Amortization Expense (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "68",
     "firstAnchor": {
      "contextRef": "i_2023-09-30_FiniteLivedIntangibleAssetsByMajorClassAxis-CoreDepositsMember",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30_FiniteLivedIntangibleAssetsByMajorClassAxis-CoreDepositsMember",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R69": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-details-textual",
     "longName": "995513 - Disclosure - Note 8 - Deposits (Details Textual)",
     "shortName": "Note 8 - Deposits (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "rbb:BrokeredTimeDeposits",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "rbb:BrokeredTimeDeposits",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R70": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details",
     "longName": "995514 - Disclosure - Note 8 - Deposits - Schedule of Maturities of Time Deposits (Details)",
     "shortName": "Note 8 - Deposits - Schedule of Maturities of Time Deposits (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "70",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "rbb:TimeDepositMaturities250000OrLessYearOne",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:TimeDepositMaturitiesTableTextBlock",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "rbb:TimeDepositMaturities250000OrLessYearOne",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:TimeDepositMaturitiesTableTextBlock",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R71": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
     "longName": "995515 - Disclosure - Note 9 - Long-term Debt (Details Textual)",
     "shortName": "Note 9 - Long-term Debt (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2018-11-30_DebtInstrumentAxis-SixPointOneEightPercentFixedToFloatingRateSubordinatedDebenturesDueDecemberFirstTwoThousandsTwentyEightMember",
      "name": "us-gaap:LongTermDebtPercentageBearingFixedInterestRate",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "p",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R72": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details",
     "longName": "995516 - Disclosure - Note 9 - Long-term Debt - Schedule of Long-term Debt (Details)",
     "shortName": "Note 9 - Long-term Debt - Schedule of Long-term Debt (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30_DebtInstrumentAxis-SixPointOneEightPercentFixedToFloatingRateSubordinatedDebenturesDueDecemberFirstTwoThousandsTwentyEightMember",
      "name": "us-gaap:UnamortizedDebtIssuanceExpense",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R73": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details",
     "longName": "995517 - Disclosure - Note 9 - Long-term Debt - Schedule of Interest and Amortization Expense (Details)",
     "shortName": "Note 9 - Long-term Debt - Schedule of Interest and Amortization Expense (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:InterestExpenseDebt",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "rbb:ScheduleOfInterestAndAmortizationsExpenseTableTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:AmortizationOfFinancingCosts",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "rbb:ScheduleOfInterestAndAmortizationsExpenseTableTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R74": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
     "longName": "995518 - Disclosure - Note 10 - Subordinated Debentures (Details Textual)",
     "shortName": "Note 10 - Subordinated Debentures (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30_LongtermDebtTypeAxis-SubordinatedDebtMember",
      "name": "us-gaap:InterestExpenseDebt",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:SubordinatedBorrowingsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R75": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
     "longName": "995519 - Disclosure - Note 11 - Borrowing Arrangements (Details Textual)",
     "shortName": "Note 11 - Borrowing Arrangements (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "75",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:NotesReceivableGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-05-03_CounterpartyNameAxis-StateOfCaliforniaMember",
      "name": "us-gaap:InterestBearingDomesticDepositCertificatesOfDeposits",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-7",
      "ancestors": [
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R76": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes-details-textual",
     "longName": "995520 - Disclosure - Note 12 - Income Taxes (Details Textual)",
     "shortName": "Note 12 - Income Taxes (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "76",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R77": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-details-textual",
     "longName": "995521 - Disclosure - Note 13 - Commitments (Details Textual)",
     "shortName": "Note 13 - Commitments (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "77",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:OffBalanceSheetCreditLossLiability",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31",
      "name": "us-gaap:OffBalanceSheetCreditLossLiability",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R78": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details",
     "longName": "995522 - Disclosure - Note 13 - Commitments - Schedule of Financial Commitments Represents Credit Risk (Details)",
     "shortName": "Note 13 - Commitments - Schedule of Financial Commitments Represents Credit Risk (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "78",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LoansAndLeasesReceivableCommitmentsFixedRates",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LoansAndLeasesReceivableCommitmentsFixedRates",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R79": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-details-textual",
     "longName": "995523 - Disclosure - Note 14 - Leases (Details Textual)",
     "shortName": "Note 14 - Leases (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "79",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:OperatingLeaseExpense",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:OperatingLeaseExpense",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R80": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details",
     "longName": "995524 - Disclosure - Note 14 - Leases - Future Minimum Rent Payments (Details)",
     "shortName": "Note 14 - Leases - Future Minimum Rent Payments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "80",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R81": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details",
     "longName": "995525 - Disclosure - Note 14 - Leases - Operating Lease (Details)",
     "shortName": "Note 14 - Leases - Operating Lease (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "81",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R82": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual",
     "longName": "995526 - Disclosure - Note 15 - Related Party Transactions (Details Textual)",
     "shortName": "Note 15 - Related Party Transactions (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "82",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:LoansAndLeasesReceivableRelatedParties",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30_RelatedPartyTransactionAxis-ExecutiveOfficersDirectorsAndTheirRelatedInterestsMember",
      "name": "rbb:UnfundedLoanCommitmentsAvailableToRelatedParties",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R83": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details",
     "longName": "995527 - Disclosure - Note 15 - Related Party Transactions - Loans to Principal Officers, Directors, and Their Affiliates (Details)",
     "shortName": "Note 15 - Related Party Transactions - Loans to Principal Officers, Directors, and Their Affiliates (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "83",
     "firstAnchor": {
      "contextRef": "i_2022-12-31",
      "name": "us-gaap:LoansAndLeasesReceivableRelatedParties",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "us-gaap:LoansAndLeasesReceivableRelatedPartiesProceeds",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R84": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
     "longName": "995528 - Disclosure - Note 16 - Stock-based Compensation (Details Textual)",
     "shortName": "Note 16 - Stock-based Compensation (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "84",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R85": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details",
     "longName": "995529 - Disclosure - Note 16 - Stock-based Compensation - Schedule of Weighted Average Assumption for Fair Value of Option Grant Estimated Using Black-Scholes Option Pricing Model (Details)",
     "shortName": "Note 16 - Stock-based Compensation - Schedule of Weighted Average Assumption for Fair Value of Option Grant Estimated Using Black-Scholes Option Pricing Model (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "85",
     "firstAnchor": {
      "contextRef": "d_2023-03-01_2023-03-31",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-03-01_2023-03-31",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R86": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details",
     "longName": "995530 - Disclosure - Note 16 - Stock-based Compensation - Summary of Awards Pursuant to Stock Option Plans (Details)",
     "shortName": "Note 16 - Stock-based Compensation - Summary of Awards Pursuant to Stock Option Plans (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "86",
     "firstAnchor": {
      "contextRef": "i_2022-12-31",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsAndStockAppreciationRightsAwardActivityTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsAndStockAppreciationRightsAwardActivityTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R87": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details",
     "longName": "995531 - Disclosure - Note 16 - Stock-based Compensation - Restricted Stock Activity (Details)",
     "shortName": "Note 16 - Stock-based Compensation - Restricted Stock Activity (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "87",
     "firstAnchor": {
      "contextRef": "i_2022-12-31_AwardTypeAxis-RestrictedStockUnitsRSUMember",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31_AwardTypeAxis-RestrictedStockUnitsRSUMember",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
      "unitRef": "USDPerShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R88": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual",
     "longName": "995532 - Disclosure - Note 17 - Regulatory Matters (Details Textual)",
     "shortName": "Note 17 - Regulatory Matters (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "88",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "rbb:RequiredAssetsToLiabilitiesRatioAfterDividendEffect",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "rbb:RequiredAssetsToLiabilitiesRatioAfterDividendEffect",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R89": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details",
     "longName": "995533 - Disclosure - Note 17 - Regulatory Matters - Summary of Company and Bank Continue to Exceed Regulatory Capital Minimum Requirements and Bank Continues to Exceed Well Capitalized Standards (Details)",
     "shortName": "Note 17 - Regulatory Matters - Summary of Company and Bank Continue to Exceed Regulatory Capital Minimum Requirements and Bank Continues to Exceed Well Capitalized Standards (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "89",
     "firstAnchor": {
      "contextRef": "i_2023-09-30_ConsolidatedEntitiesAxis-RbbBancorpMember",
      "name": "us-gaap:TierOneLeverageCapital",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30_ConsolidatedEntitiesAxis-RbbBancorpMember",
      "name": "us-gaap:TierOneLeverageCapital",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R90": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
     "longName": "995534 - Disclosure - Note 18 - Fair Value Measurements and Fair Value of Financial Instruments (Details Textual)",
     "shortName": "Note 18 - Fair Value Measurements and Fair Value of Financial Instruments (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "90",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:FinancingReceivablesCollateralDependentWritedown",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30",
      "name": "rbb:FinancingReceivablesCollateralDependentWritedown",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R91": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
     "longName": "995535 - Disclosure - Note 18 - Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Major Category of Assets and Liabilities (Details)",
     "shortName": "Note 18 - Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Major Category of Assets and Liabilities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "91",
     "firstAnchor": {
      "contextRef": "i_2023-09-30_FairValueByMeasurementFrequencyAxis-FairValueMeasurementsRecurringMember",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31_DerivativeInstrumentRiskAxis-ForwardMortgageLoanSaleContractsMember_FairValueByMeasurementFrequencyAxis-FairValueMeasurementsRecurringMember",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "ix:continuation",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R92": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
     "longName": "995536 - Disclosure - Note 18 - Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Fair Value Hierarchy Level and Estimated Fair Value of Significant Financial Instruments (Details)",
     "shortName": "Note 18 - Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Fair Value Hierarchy Level and Estimated Fair Value of Significant Financial Instruments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "92",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-30_FairValueByFairValueHierarchyLevelAxis-FairValueInputsLevel1Member_FairValueByMeasurementBasisAxis-CarryingReportedAmountFairValueDisclosureMember",
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R93": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual",
     "longName": "995537 - Disclosure - Note 19 - Earnings Per Share (Details Textual)",
     "shortName": "Note 19 - Earnings Per Share (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "93",
     "firstAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis-EmployeeStockOptionMember_StatementEquityComponentsAxis-CommonStockMember",
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2023-09-30_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis-EmployeeStockOptionMember_StatementEquityComponentsAxis-CommonStockMember",
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R94": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details",
     "longName": "995538 - Disclosure - Note 19 - Earnings Per Share - Reconciliation of Net Income and Shares Outstanding to Income and Number of Shares Used to Compute EPS (Details)",
     "shortName": "Note 19 - Earnings Per Share - Reconciliation of Net Income and Shares Outstanding to Income and Number of Shares Used to Compute EPS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "94",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:WeightedAverageNumberOfSharesIssuedBasic",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R95": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details",
     "longName": "995539 - Disclosure - Note 20 - Revenue From Contracts With Customers - Summary of Revenue From Contracts With Customers In-scope and Not In-scope under Topic 606 (Details)",
     "shortName": "Note 20 - Revenue From Contracts With Customers - Summary of Revenue From Contracts With Customers In-scope and Not In-scope under Topic 606 (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "95",
     "firstAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "us-gaap:RevenueFromContractWithCustomerTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-07-01_2023-09-30",
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "us-gaap:RevenueFromContractWithCustomerTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R96": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
     "longName": "995540 - Disclosure - Note 21 - Qualified Affordable Housing Project Investments (Details Textual)",
     "shortName": "Note 21 - Qualified Affordable Housing Project Investments (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "96",
     "firstAnchor": {
      "contextRef": "i_2023-09-30",
      "name": "us-gaap:AmortizationMethodQualifiedAffordableHousingProjectInvestments",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:AffordableHousingProgramTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31",
      "name": "us-gaap:AmortizationMethodQualifiedAffordableHousingProjectInvestments",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:AffordableHousingProgramTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "unique": true
     }
    },
    "R97": {
     "role": "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual",
     "longName": "995541 - Disclosure - Note 22 - Subsequent Events (Details Textual)",
     "shortName": "Note 22 - Subsequent Events (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "97",
     "firstAnchor": {
      "contextRef": "d_2023-10-19_2023-10-19_SubsequentEventTypeAxis-SubsequentEventMember",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "USDPerShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-10-19_2023-10-19_SubsequentEventTypeAxis-SubsequentEventMember",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "USDPerShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "rbb20230930_10q.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockDividendsPerShareDeclared",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock dividends per share (in dollars per share)",
        "terseLabel": "Common Stock, Dividends, Per Share, Declared (in dollars per share)",
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding."
       }
      }
     },
     "auth_ref": [
      "r141"
     ]
    },
    "us-gaap_CommercialRealEstatePortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommercialRealEstatePortfolioSegmentMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Real Estate Portfolio Segment [Member]",
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial real estate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update and Change in Accounting Principle [Table Text Block]",
        "documentation": "Tabular disclosure of changes in accounting principles, including adoption of new accounting pronouncements, that describes the new methods, amount and effects on financial statement line items."
       }
      }
     },
     "auth_ref": [
      "r45",
      "r46",
      "r50",
      "r51"
     ]
    },
    "us-gaap_CommercialPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommercialPortfolioSegmentMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Portfolio Segment [Member]",
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial receivables."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock options, shares (in shares)",
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method."
       }
      }
     },
     "auth_ref": [
      "r286",
      "r287",
      "r288",
      "r299",
      "r489"
     ]
    },
    "rbb_SBASecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SBASecuritiesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBA Securities [Member]",
        "documentation": "The amount of debt securities issued by the SBA."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
        "totalLabel": "Total comprehensive income",
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income. Excludes changes in equity resulting from investments by owners and distributions to owners."
       }
      }
     },
     "auth_ref": [
      "r82",
      "r146",
      "r237",
      "r239",
      "r245",
      "r686",
      "r723"
     ]
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GoodwillAcquiredDuringPeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_GoodwillAcquiredDuringPeriod",
        "terseLabel": "Goodwill",
        "documentation": "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination."
       }
      }
     },
     "auth_ref": [
      "r410",
      "r886"
     ]
    },
    "rbb_SBALoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SBALoansMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBA Loans [Member]",
        "documentation": "Represents information related to SBA loans."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r922"
     ]
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholders' equity:"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_OtherFinancialInstitutionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "OtherFinancialInstitutionsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Financial Institutions [Member]",
        "documentation": "Represents other financial institutions."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs",
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
        "negatedTerseLabel": "Charge-offs",
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r388",
      "r397",
      "r883"
     ]
    },
    "rbb_NumberOfTrustPreferredSecurities": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "NumberOfTrustPreferredSecurities",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_NumberOfTrustPreferredSecurities",
        "terseLabel": "Number of Trust Preferred Securities (in shares)",
        "documentation": "Represents number of trust preferred securities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized (in shares)",
        "documentation": "Number of additional shares authorized for issuance under share-based payment arrangement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments [Domain]",
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms."
       }
      }
     },
     "auth_ref": [
      "r336",
      "r337",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r459",
      "r465",
      "r568",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r656",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r722",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r946",
      "r947",
      "r991",
      "r992",
      "r993",
      "r994"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_NotesReceivableNet",
       "weight": -1.0,
       "order": 0.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details": {
       "parentTag": "us-gaap_NotesReceivableNet",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLosses",
        "negatedLabel": "Allowance for credit losses",
        "terseLabel": "Allowance for credit losses on loans",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending allowance balance",
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r212",
      "r214",
      "r216",
      "r229",
      "r382",
      "r386",
      "r390",
      "r1076"
     ]
    },
    "rbb_OtherFeesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "OtherFeesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Fees [Member]",
        "documentation": "Represents information related to other fees."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NotesReceivableNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NotesReceivableNetAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans held for investment:"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfOutstandingStockMaximum": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfOutstandingStockMaximum",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfOutstandingStockMaximum",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Percentage of Outstanding Stock Maximum",
        "documentation": "Maximum number of shares that may be issued in accordance with the plan as a proportion of outstanding capital stock."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease",
        "terseLabel": "Financing Receivable, Allowance for Credit Loss, Period Increase (Decrease)",
        "documentation": "Amount of increase (decrease) in allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": [
      "r57",
      "r1000"
     ]
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_OtherFinancingReceivablesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "OtherFinancingReceivablesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Financing Receivables [Member]",
        "documentation": "Represents information related to other financing receivables."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments Disclosure [Text Block]",
        "documentation": "The entire disclosure for significant arrangements with third parties, which includes operating lease arrangements and arrangements in which the entity has agreed to expend funds to procure goods or services, or has agreed to commit resources to supply goods or services, and operating lease arrangements. Descriptions may include identification of the specific goods and services, period of time covered, minimum quantities and amounts, and cancellation rights."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "rbb_OtherLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "OtherLoansMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Loans [Member]",
        "documentation": "Represents information related to other loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FiniteLivedIntangibleAssetUsefulLife",
        "terseLabel": "Finite-Lived Intangible Asset, Useful Life (Year)",
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestrictedStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RestrictedStockMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Stock [Member]",
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met."
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "us-gaap_FiniteLivedCoreDepositsGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedCoreDepositsGross",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Core deposit intangibles",
        "documentation": "Bank deposits belonging to an acquired bank that can be counted on as a stable source of lending funds. These deposits have the following attributes: predictable costs and low sensitivity to interest rates. This intangible asset is usually amortized over its estimated useful life."
       }
      }
     },
     "auth_ref": [
      "r65"
     ]
    },
    "us-gaap_NoncontrollingInterestMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoncontrollingInterestMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncontrolling Interest [Member]",
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest."
       }
      }
     },
     "auth_ref": [
      "r79",
      "r466",
      "r969",
      "r970",
      "r971",
      "r1089"
     ]
    },
    "rbb_OtherRealEstateOwnedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "OtherRealEstateOwnedMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Real Estate Owned [Member]",
        "documentation": "Represents information related to other real estate owned."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PassMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pass [Member]",
        "documentation": "A category of financing receivables not considered to be special mention, substandard, doubtful, and loss receivables."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r1002"
     ]
    },
    "srt_CounterpartyNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CounterpartyNameAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]"
       }
      }
     },
     "auth_ref": [
      "r259",
      "r260",
      "r438",
      "r464",
      "r635",
      "r869",
      "r871"
     ]
    },
    "us-gaap_SubstandardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubstandardMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Substandard [Member]",
        "documentation": "A category of financing receivables that are inadequately protected by the current sound worth and paying capacity of the obligor or of the collateral pledged, if any. Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They are characterized by the distinct possibility that the creditor will sustain some loss if the deficiencies are not corrected."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r1002"
     ]
    },
    "us-gaap_GainLossOnDispositionOfAssets1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnDispositionOfAssets1",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain on sale of OREO and fixed assets",
        "documentation": "Amount of gain (loss) on sale or disposal of assets, including but not limited to property plant and equipment, intangible assets and equity in securities of subsidiaries or equity method investee."
       }
      }
     },
     "auth_ref": [
      "r963"
     ]
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ImpairedFinancingReceivableInterestIncomeCashBasisMethod",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod",
        "terseLabel": "Impaired Financing Receivable, Interest Income, Cash Basis Method",
        "documentation": "Amount of interest income recognized on a cash-basis method of accounting that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired."
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "rbb_OtherServiceIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "OtherServiceIncomeMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Service Income [Member]",
        "documentation": "Represents information related to other service income."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OccupancyNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OccupancyNet",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Occupancy and equipment expenses",
        "documentation": "Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense."
       }
      }
     },
     "auth_ref": [
      "r124",
      "r165",
      "r189"
     ]
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination Disclosure [Text Block]",
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable)."
       }
      }
     },
     "auth_ref": [
      "r144",
      "r545"
     ]
    },
    "us-gaap_DoubtfulMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DoubtfulMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Doubtful [Member]",
        "documentation": "A category of financing receivables that have all the weaknesses inherent in those classified as substandard, with the added characteristic that the weaknesses make collection or liquidation in full, on the basis of currently existing facts, conditions, and values, highly questionable and improbable."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r1002"
     ]
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
        "terseLabel": "Equity, Including Portion Attributable to Noncontrolling Interest",
        "totalLabel": "Total shareholders\u2019 equity",
        "periodStartLabel": "Balance",
        "periodEndLabel": "Balance",
        "documentation": "Amount of equity (deficit) attributable to parent and noncontrolling interest. Excludes temporary equity."
       }
      }
     },
     "auth_ref": [
      "r79",
      "r80",
      "r81",
      "r221",
      "r222",
      "r241",
      "r264",
      "r265",
      "r266",
      "r269",
      "r277",
      "r375",
      "r381",
      "r466",
      "r522",
      "r523",
      "r524",
      "r536",
      "r537",
      "r560",
      "r562",
      "r563",
      "r564",
      "r565",
      "r567",
      "r577",
      "r600",
      "r602",
      "r606",
      "r629",
      "r736",
      "r737",
      "r752",
      "r779",
      "r796",
      "r820",
      "r821",
      "r853",
      "r918",
      "r966",
      "r995",
      "r1059",
      "r1089"
     ]
    },
    "us-gaap_SpecialMentionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SpecialMentionMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Special Mention [Member]",
        "documentation": "A category of financing receivables considered to have potential weaknesses that deserve management's close attention. If left uncorrected, those potential weaknesses may result in a deterioration of the repayment prospects for the asset or of the creditor's position at some future date."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r1002"
     ]
    },
    "rbb_PGBHoldingsIncAndBankingSubsidiaryPacificGlobalBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "PGBHoldingsIncAndBankingSubsidiaryPacificGlobalBankMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PGB Holdings Inc And Banking Subsidiary Pacific Global Bank [Member]",
        "documentation": "Represents information related to PGB Holdings Inc and Banking Subsidiary Pacific Global Bank."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_OtherSignificantNoncashTransactionValueOfConsiderationGivenReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "OtherSignificantNoncashTransactionValueOfConsiderationGivenReceived",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash considerations",
        "documentation": "The value of the noncash (or part noncash) consideration given (received)(for example, liability, equity) in a transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of a transaction not resulting in cash receipts or cash payments in the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrivatePlacementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrivatePlacementMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Private Placement [Member]",
        "documentation": "A private placement is a direct offering of securities to a limited number of sophisticated investors such as insurance companies, pension funds, mezzanine funds, stock funds and trusts."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherNoninterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherNoninterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other expenses",
        "documentation": "Amount of noninterest expense classified as other."
       }
      }
     },
     "auth_ref": [
      "r167"
     ]
    },
    "rbb_PGBHoldingsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "PGBHoldingsIncMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PGB Holdings Inc. [Member]",
        "documentation": "Informationg pertaining to PGB Holdings Inc. (\"PGBH\")."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MunicipalBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MunicipalBondsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Municipal Bonds [Member]",
        "documentation": "Long-term debt securities issued by state, city or local governments or the agencies operated by state, city or local governments."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Current Reporting Status",
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r922"
     ]
    },
    "rbb_PrincipalOfficersDirectorsAndTheirAffiliatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "PrincipalOfficersDirectorsAndTheirAffiliatesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal Officers, Directors and their Affiliates [Member]",
        "documentation": "Represents information related to principal officers, directors and their affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_PaymentsToAcquireProceedsFromOtherInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "PaymentsToAcquireProceedsFromOtherInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_PaymentsToAcquireProceedsFromOtherInvestments",
        "negatedLabel": "Purchase of other equity securities, net",
        "documentation": "The amount of cash outflow (inflow) from other investments."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_RoyalBusinessBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "RoyalBusinessBankMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Royal Business Bank [Member]",
        "documentation": "Represents information related to Royal Business Bank."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_ProvisionForCreditLossesExpensed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ProvisionForCreditLossesExpensed",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Provision for credit losses",
        "label": "Provision for credit losses",
        "documentation": "The amount of provision for credit losses expensed."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_PurchaseOfInvestmentInQualifiedAffordableHousingProjects": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "PurchaseOfInvestmentInQualifiedAffordableHousingProjects",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_PurchaseOfInvestmentInQualifiedAffordableHousingProjects",
        "negatedLabel": "Net increase of investment in qualified affordable housing projects",
        "documentation": "The payments during the period for the purchase of investment in qualified affordable housing projects."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Filer Category",
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": [
      "r922"
     ]
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "Rule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ecd_Rule10b51ArrAdoptedFlag",
        "terseLabel": "Rule 10b5-1 Arrangement Adopted [Flag]"
       }
      }
     },
     "auth_ref": [
      "r927"
     ]
    },
    "rbb_RbbBancorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "RbbBancorpMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "RBB Bancorp [Member]",
        "documentation": "Represents information related to RBB Bancorp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestIncomeAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest income:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SuppliesAndPostageExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SuppliesAndPostageExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Office expenses",
        "documentation": "The aggregate amount of expenses directly related to the supplies and postage."
       }
      }
     },
     "auth_ref": [
      "r167"
     ]
    },
    "rbb_ResidentialCollateralizedMortgageObligationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ResidentialCollateralizedMortgageObligationsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Residential Collateralized Mortgage Obligations [Member]",
        "documentation": "Related to residential collateralized mortgage obligations."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsGross",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FiniteLivedIntangibleAssetsGross",
        "terseLabel": "Finite-Lived Intangible Assets, Gross",
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r681"
     ]
    },
    "rbb_RecognitionOfOperatingLeaseRightOfUseAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "RecognitionOfOperatingLeaseRightOfUseAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recognition of operating lease right-of-use assets",
        "documentation": "Represents amount of operating lease right-of-use assets recognized during the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BankOwnedLifeInsuranceIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BankOwnedLifeInsuranceIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase in cash surrender value of life insurance",
        "documentation": "Earnings on or other increases in the value of the cash surrender value of bank owned life insurance policies."
       }
      }
     },
     "auth_ref": [
      "r164"
     ]
    },
    "us-gaap_AssetPledgedAsCollateralMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetPledgedAsCollateralMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Pledged as Collateral [Member]",
        "documentation": "Asset pledged as collateral."
       }
      }
     },
     "auth_ref": [
      "r550",
      "r769",
      "r901",
      "r1074"
     ]
    },
    "rbb_RecognitionOfOperatingLeaseLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "RecognitionOfOperatingLeaseLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recognition of operating lease liabilities",
        "documentation": "Represents amount of operating lease liabilities recognized during the period."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Small Business",
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC)."
       }
      }
     },
     "auth_ref": [
      "r922"
     ]
    },
    "us-gaap_MarketingAndAdvertisingExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MarketingAndAdvertisingExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Marketing and business promotion",
        "documentation": "The total expense recognized in the period for promotion, public relations, and brand or product advertising."
       }
      }
     },
     "auth_ref": [
      "r123"
     ]
    },
    "rbb_RequiredAssetsToLiabilitiesRatioAfterDividendEffect": {
     "xbrltype": "pureItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "RequiredAssetsToLiabilitiesRatioAfterDividendEffect",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_RequiredAssetsToLiabilitiesRatioAfterDividendEffect",
        "terseLabel": "Required Assets To Liabilities Ratio After Dividend Effect",
        "documentation": "Represents required assets to liabilities ratio after dividend effect."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoninterestIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NoninterestIncome",
        "totalLabel": "Noninterest Income",
        "documentation": "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified."
       }
      }
     },
     "auth_ref": [
      "r164"
     ]
    },
    "us-gaap_USGovernmentAgenciesDebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "USGovernmentAgenciesDebtSecuritiesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "US Government Agencies Debt Securities [Member]",
        "documentation": "Debentures, notes, and other debt securities issued by US government agencies, for example, but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae). Excludes US treasury securities and debt issued by government-sponsored Enterprises (GSEs), for example, but is not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB)."
       }
      }
     },
     "auth_ref": [
      "r872",
      "r894",
      "r1078"
     ]
    },
    "us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Fair Value, off-Balance-Sheet Risks [Table Text Block]",
        "documentation": "Tabular disclosure of the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined) which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition."
       }
      }
     },
     "auth_ref": [
      "r92",
      "r148"
     ]
    },
    "rbb_ReserveForUnfundedCommitments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ReserveForUnfundedCommitments",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve for unfunded commitments",
        "terseLabel": "Allowance for unfunded commitments",
        "documentation": "The amount of reserve for unfunded commitments."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r922"
     ]
    },
    "srt_ConsolidatedEntitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ConsolidatedEntitiesAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "auth_ref": [
      "r261",
      "r550",
      "r551",
      "r554",
      "r555",
      "r637",
      "r865",
      "r1012",
      "r1015",
      "r1016"
     ]
    },
    "us-gaap_UnrealizedGainLossOnDerivatives": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UnrealizedGainLossOnDerivatives",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_UnrealizedGainLossOnDerivatives",
        "terseLabel": "Unrealized Gain (Loss) on Derivatives",
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r813",
      "r814",
      "r815",
      "r816",
      "r837"
     ]
    },
    "us-gaap_SubordinatedDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubordinatedDebtMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subordinated Debt [Member]",
        "documentation": "This element represents domestic or foreign subordinated debt. Subordinated debt has a lower priority of repayment in liquidation of the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonEquityTierOneCapitalRatio": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonEquityTierOneCapitalRatio",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Equity Tier 1 Risk-Based Capital Ratio, Ratio",
        "documentation": "Ratio of Common Equity Tier 1 risk-based capital to risk-weighted assets as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702"
     ]
    },
    "us-gaap_UnusedLinesOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UnusedLinesOfCreditMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unused lines of Credit [Member]",
        "documentation": "The unused portion of a line of credit that is available to the borrower to withdrawn upon."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TypeOfAdoptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TypeOfAdoptionMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update [Domain]",
        "documentation": "Amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r268",
      "r269",
      "r270",
      "r271",
      "r280",
      "r331",
      "r332",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r417",
      "r522",
      "r523",
      "r524",
      "r534",
      "r535",
      "r536",
      "r537",
      "r546",
      "r547",
      "r548",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r591",
      "r592",
      "r596",
      "r597",
      "r598",
      "r599",
      "r608",
      "r609",
      "r613",
      "r614",
      "r615",
      "r616",
      "r625",
      "r626",
      "r627",
      "r628",
      "r629",
      "r678",
      "r679",
      "r680",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744"
     ]
    },
    "us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Risk-Based Capital Ratio, Minimum Required for Capital Adequacy Purposes Ratio",
        "documentation": "Ratio of minimum total risk-based capital to risk-weighted assets required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r706"
     ]
    },
    "us-gaap_InterestPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestPaid",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestPaid",
        "terseLabel": "Interest Paid, Including Capitalized Interest, Operating and Investing Activities",
        "documentation": "Amount of cash paid for interest, including, but not limited to, capitalized interest and payment to settle zero-coupon bond attributable to accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount; classified as operating and investing activities."
       }
      }
     },
     "auth_ref": [
      "r964"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "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": [
      "r264",
      "r265",
      "r266",
      "r305",
      "r676",
      "r745",
      "r755",
      "r768",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r777",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r786",
      "r787",
      "r788",
      "r789",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r797",
      "r799",
      "r800",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r819",
      "r912"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period (Year)",
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition."
       }
      }
     },
     "auth_ref": [
      "r900"
     ]
    },
    "us-gaap_CapitalToRiskWeightedAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalToRiskWeightedAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Risk-Based Capital Ratio, Ratio",
        "documentation": "Ratio of total risk-based capital to risk-weighted assets as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702"
     ]
    },
    "us-gaap_CollateralizedMortgageObligationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CollateralizedMortgageObligationsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collateralized Mortgage Obligations [Member]",
        "documentation": "The category includes multiclass, pay-through securitizations collateralized by mortgages secured by assets, such as automobiles and boats, which are generally structured so that the collections of principal and interest due from the underlying debtors are paid to the holders of the CMO."
       }
      }
     },
     "auth_ref": [
      "r138"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
        "terseLabel": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition (Year)",
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r520"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtInstrumentInterestRateEffectivePercentage",
        "terseLabel": "Debt Instrument, Interest Rate, Effective Percentage",
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r96",
      "r462",
      "r612"
     ]
    },
    "us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TierOneLeverageCapitalRequiredForCapitalAdequacy",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Leverage Ratio, Minimum Required for Capital Adequacy Purposes Amount",
        "documentation": "Amount of minimum Tier 1 leverage capital required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r706"
     ]
    },
    "us-gaap_CommercialPaperMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommercialPaperMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Paper [Member]",
        "documentation": "Unsecured promissory note (generally negotiable) that provides institutions with short-term funds."
       }
      }
     },
     "auth_ref": [
      "r137",
      "r913",
      "r914",
      "r915",
      "r916"
     ]
    },
    "us-gaap_TierOneRiskBasedCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TierOneRiskBasedCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Risk-Based Capital Ratio, Amount",
        "documentation": "Amount of Tier 1 risk-based capital as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702"
     ]
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
        "totalLabel": "Net interest income after provision for credit losses",
        "documentation": "Amount of interest income or expense, including any amortization and accretion (as applicable) of discounts and premiums, including consideration of the provisions for loan, lease, credit, and other related losses."
       }
      }
     },
     "auth_ref": [
      "r162"
     ]
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TierOneRiskBasedCapitalRequiredForCapitalAdequacy",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy",
        "terseLabel": "Tier 1 Risk-Based Capital Ratio, Minimum Required for Capital Adequacy Purposes Amount",
        "documentation": "Amount of minimum Tier 1 risk-based capital required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r706"
     ]
    },
    "us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Leverage Ratio, Minimum Required for Capital Adequacy Purposes Ratio",
        "documentation": "Ratio of minimum Tier 1 leverage capital to average assets required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r706"
     ]
    },
    "us-gaap_TierOneLeverageCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TierOneLeverageCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Leverage Ratio, Amount",
        "documentation": "Amount of Tier 1 leverage capital as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted-average remaining lease term (in years) (Year)",
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r620",
      "r904"
     ]
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": [
      "r1019"
     ]
    },
    "us-gaap_InterestIncomeFederalFundsSold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestIncomeFederalFundsSold",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest on federal funds sold and other",
        "documentation": "Interest income on federal funds sold. Federal funds sold represent the excess federal funds held by one commercial bank which it lends to another commercial bank, usually at an agreed-upon (federal funds) rate of interest. Such loans generally are of short-duration (overnight)."
       }
      }
     },
     "auth_ref": [
      "r168",
      "r207",
      "r208"
     ]
    },
    "us-gaap_CommercialRealEstateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommercialRealEstateMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Real Estate [Member]",
        "documentation": "Property that is solely used for business purposes."
       }
      }
     },
     "auth_ref": [
      "r876",
      "r881",
      "r1020"
     ]
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
        "negatedLabel": "Available for sale, gross unrealized losses",
        "documentation": "Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r341"
     ]
    },
    "us-gaap_AffordableHousingTaxCreditsCommitmentYearToBePaid": {
     "xbrltype": "gYearListItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AffordableHousingTaxCreditsCommitmentYearToBePaid",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AffordableHousingTaxCreditsCommitmentYearToBePaid",
        "terseLabel": "Affordable Housing Tax Credits Commitment, Year to be Paid",
        "documentation": "Year in which contingent commitments to qualified affordable housing project investments are expected to be paid, in YYYY format."
       }
      }
     },
     "auth_ref": [
      "r932"
     ]
    },
    "us-gaap_MeasurementInputPrepaymentRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputPrepaymentRateMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Prepayment Rate [Member]",
        "documentation": "Measurement input using principal prepayment at other than constant rate as proportion of outstanding loan principal."
       }
      }
     },
     "auth_ref": [
      "r1058"
     ]
    },
    "us-gaap_TierOneLeverageCapitalToAverageAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TierOneLeverageCapitalToAverageAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Leverage Ratio, Ratio",
        "documentation": "Ratio of Tier 1 capital to average assets as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702"
     ]
    },
    "us-gaap_AdvancesFromFederalHomeLoanBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdvancesFromFederalHomeLoanBanks",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "FHLB advances",
        "terseLabel": "Advances from Federal Home Loan Banks, Total",
        "documentation": "Amount of borrowings as of the balance sheet date from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and liquidity shortages."
       }
      }
     },
     "auth_ref": [
      "r175"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual"
     ],
     "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": [
      "r607",
      "r639"
     ]
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InformationTechnologyAndDataProcessing",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Data processing",
        "documentation": "The amount of expenses incurred in the period for information technology and data processing products and services."
       }
      }
     },
     "auth_ref": [
      "r124"
     ]
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Available for sale, gross unrealized gains",
        "documentation": "Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r340"
     ]
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
        "terseLabel": "Tier 1 Risk-Based Capital Ratio, Minimum Required for Capital Adequacy Purposes Ratio",
        "documentation": "Ratio of minimum Tier 1 risk-based capital to risk-weighted assets required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r706"
     ]
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Risk Free Interest Rate [Member]",
        "documentation": "Measurement input using interest rate on instrument with zero risk of financial loss."
       }
      }
     },
     "auth_ref": [
      "r1058"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details"
     ],
     "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": [
      "r27",
      "r261",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r441",
      "r446",
      "r447",
      "r448",
      "r449",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r612",
      "r887",
      "r888",
      "r889",
      "r890",
      "r891",
      "r965"
     ]
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputTypeDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input Type [Domain]",
        "documentation": "Measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeAssetMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssetMeasurementInput",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DerivativeAssetMeasurementInput",
        "terseLabel": "Derivative Asset, Measurement Input",
        "documentation": "Value of input used to measure derivative asset."
       }
      }
     },
     "auth_ref": [
      "r586"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
        "negatedLabel": "Held to maturity, gross unrealized losses",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r180",
      "r361"
     ]
    },
    "us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TierOneRiskBasedCapitalToRiskWeightedAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Risk-Based Capital Ratio, Ratio",
        "documentation": "Ratio of Tier 1 risk-based capital to risk-weighted assets as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual"
     ],
     "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": [
      "r607",
      "r639"
     ]
    },
    "us-gaap_InterestIncomeDepositsWithFinancialInstitutions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestIncomeDepositsWithFinancialInstitutions",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest on interest-earning deposits",
        "documentation": "Interest income derived from funds deposited with both domestic and foreign financial institutions including funds in money market and other accounts."
       }
      }
     },
     "auth_ref": [
      "r168",
      "r207",
      "r208"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Held to maturity, gross unrealized gains",
        "documentation": "Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r179",
      "r360"
     ]
    },
    "us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs, current",
        "label": "us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff",
        "documentation": "Amount of writeoff of financing receivable originated in current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
        "negatedLabel": "Twelve Months or More Unrealized Losses, held to maturity",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r188"
     ]
    },
    "us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs, one year before",
        "label": "us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff",
        "documentation": "Amount of writeoff of financing receivable originated in fiscal year before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestAndDividendIncomeOperating",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestAndDividendIncomeOperating",
        "totalLabel": "Total interest income",
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein."
       }
      }
     },
     "auth_ref": [
      "r160",
      "r1096"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
        "negatedLabel": "Less than Twelve Months Unrealized Losses, held to maturity",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r188"
     ]
    },
    "us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs, two years before",
        "label": "us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff",
        "documentation": "Amount of writeoff of financing receivable originated two years before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
        "negatedLabel": "Total Unrealized Losses, held to maturity",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position."
       }
      }
     },
     "auth_ref": [
      "r187"
     ]
    },
    "us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs, three years before",
        "label": "us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff",
        "documentation": "Amount of writeoff of financing receivable originated three years before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs, four years before",
        "label": "us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff",
        "documentation": "Amount of writeoff of financing receivable originated four years before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_AlternativeInvestmentMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AlternativeInvestmentMeasurementInput",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AlternativeInvestmentMeasurementInput",
        "terseLabel": "Alternative Investment, Measurement Input",
        "documentation": "Value of input used to measure alternative investment."
       }
      }
     },
     "auth_ref": [
      "r586"
     ]
    },
    "us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositsAtOrAboveFDICInsuranceLimit",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time deposits over $250,000",
        "documentation": "Amount of time deposit liabilities, including certificates of deposit, in denominations that meet or exceed the Federal Deposit Insurance Corporation (FDIC) insurance limit."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs, prior",
        "label": "us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff",
        "documentation": "Amount of writeoff of financing receivable originated more than five years before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_FinancingReceivableRevolvingWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRevolvingWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs, revolving",
        "label": "us-gaap_FinancingReceivableRevolvingWriteoff",
        "documentation": "Amount of writeoff of financing receivable that can be withdrawn, repaid, and redrawn."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearOne": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesYearOne",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "One year",
        "documentation": "Amount of time deposit maturing in next fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_FinancingReceivableRevolvingConvertedToTermLoanWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRevolvingConvertedToTermLoanWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period charge-offs, converted to term loan",
        "label": "us-gaap_FinancingReceivableRevolvingConvertedToTermLoanWriteoff",
        "documentation": "Amount of writeoff of revolving financing receivable converted to term loan."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r883"
     ]
    },
    "dei_DocumentInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentInformationTable",
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Table]",
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and dividend income:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetMeasurementInput",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ServicingAssetMeasurementInput",
        "terseLabel": "Servicing Asset, Measurement Input",
        "documentation": "Value of input used to measure servicing asset."
       }
      }
     },
     "auth_ref": [
      "r586"
     ]
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsidiarySaleOfStockAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of Stock [Axis]",
        "documentation": "Information by type of sale of the entity's stock."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonEquityTierOneCapitalRequiredForCapitalAdequacy",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy",
        "terseLabel": "Common Equity Tier 1 Risk-Based Capital Ratio, Minimum Required for Capital Adequacy Purposes Amount",
        "documentation": "Amount of minimum Common Equity Tier 1 risk-based capital required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r706"
     ]
    },
    "us-gaap_FinancialAssetAcquiredWithCreditDeteriorationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialAssetAcquiredWithCreditDeteriorationMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset Acquired with Credit Deterioration [Member]",
        "documentation": "Financial asset acquired with deteriorated credit quality."
       }
      }
     },
     "auth_ref": [
      "r979"
     ]
    },
    "us-gaap_CommonEquityTierOneCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonEquityTierOneCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Equity Tier 1 Risk-Based Capital Ratio, Amount",
        "terseLabel": "Banking Regulation, Common Equity Tier One Risk-Based Capital, Actual",
        "documentation": "Amount of Common Equity Tier 1 risk-based capital as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702"
     ]
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment",
        "negatedLabel": "Purchases of premises 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": [
      "r127"
     ]
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details"
     ],
     "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": [
      "r21",
      "r113",
      "r114",
      "r153",
      "r154",
      "r261",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r441",
      "r446",
      "r447",
      "r448",
      "r449",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r612",
      "r887",
      "r888",
      "r889",
      "r890",
      "r891",
      "r965"
     ]
    },
    "rbb_TimeDepositMaturities250000OrLessYearOne": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositMaturities250000OrLessYearOne",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "rbb_TimeDeposits250000OrLess",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "One year, 250,000 and under",
        "documentation": "Amount of time deposit $250,000 or less maturing in next fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_InterestOnOtherBorrowedFunds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "InterestOnOtherBorrowedFunds",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest on other borrowed funds",
        "documentation": "Amount of interest expense on borrowed funds classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOfAssetsAcquired": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueOfAssetsAcquired",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets acquired, net of cash received",
        "documentation": "The fair value of assets acquired in noncash investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r43",
      "r44"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
        "terseLabel": "2026, amortization expense",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r134"
     ]
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementsNonrecurringMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Nonrecurring [Member]",
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r582",
      "r583",
      "r585",
      "r586",
      "r587",
      "r588"
     ]
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxesPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Taxes paid",
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
        "terseLabel": "2024, amortization expense",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r134"
     ]
    },
    "rbb_statement-statement-note-16-stockbased-compensation-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-16-stockbased-compensation-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 16 - Stock-based Compensation"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-17-regulatory-matters-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-17-regulatory-matters-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 17 - Regulatory Matters"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
        "terseLabel": "2025, amortization expense",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r134"
     ]
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementsRecurringMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Recurring [Member]",
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r581",
      "r588"
     ]
    },
    "rbb_statement-statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 18 - Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Major Category of Assets and Liabilities (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
        "terseLabel": "2027, amortization expense",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r134"
     ]
    },
    "rbb_statement-statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 19 - Earnings Per Share - Reconciliation of Net Income and Shares Outstanding to Income and Number of Shares Used to Compute EPS (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
        "totalLabel": "Net increase (decrease) in cash and cash equivalents",
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r128"
     ]
    },
    "rbb_statement-statement-note-19-earnings-per-share-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-19-earnings-per-share-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 19 - Earnings Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
        "terseLabel": "Remainder of 2023, amortization expense",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in remainder of current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 18 - Fair Value Measurements and Fair Value of Financial Instruments"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 18 - Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Fair Value Hierarchy Level and Estimated Fair Value of Significant Financial Instruments (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 17 - Regulatory Matters - Summary of Company and Bank Continue to Exceed Regulatory Capital Minimum Requirements and Bank Continues to Exceed Well Capitalized Standards (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 16 - Stock-based Compensation - Summary of Awards Pursuant to Stock Option Plans (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Text Block]",
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information."
       }
      }
     },
     "auth_ref": [
      "r258",
      "r526",
      "r531",
      "r532",
      "r533",
      "r538",
      "r540",
      "r541",
      "r542",
      "r748"
     ]
    },
    "rbb_TimeDepositMaturities250000OrLessYearsTwoAndThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositMaturities250000OrLessYearsTwoAndThree",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "rbb_TimeDeposits250000OrLess",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two to three years, 250,000 and under",
        "documentation": "Amount of time deposit $250,000 or Less maturing in second and third fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TimeDepositMaturitiesOver250000OverThreeYears": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositMaturitiesOver250000OverThreeYears",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "rbb_TimeDepositsOver250000",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Over three years, over 250,000",
        "documentation": "Amount of time deposit, over $250,000, maturing after third fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated other comprehensive loss, net",
        "documentation": "Amount, after tax, of accumulated increase (decrease) in equity from transaction and other event and circumstance from nonowner source."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r34",
      "r120",
      "r228",
      "r714",
      "r740",
      "r744"
     ]
    },
    "rbb_TimeDepositMaturitiesOver250000YearOne": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositMaturitiesOver250000YearOne",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "rbb_TimeDepositsOver250000",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "One year, over 250,000",
        "documentation": "Amount of time deposit over $250,000, maturing in next fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TimeDepositMaturitiesOver250000YearsTwoAndThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositMaturitiesOver250000YearsTwoAndThree",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "rbb_TimeDepositsOver250000",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two to three years, over 250,000",
        "documentation": "Amount of time deposit, over $250,000, maturing in second and third fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TimeDepositMaturitiesOverThreeYears": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositMaturitiesOverThreeYears",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Over three years",
        "documentation": "Amount of time deposit maturing after third fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TimeDepositMaturitiesYearsTwoAndThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositMaturitiesYearsTwoAndThree",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "us-gaap_TimeDeposits",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two to three years",
        "documentation": "Amount of time deposit maturing in second and third fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TimeDeposits250000AndUnder": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDeposits250000AndUnder",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time deposits $250,000 and under",
        "documentation": "The amount of time deposits with amounts of $250,000 and under."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FirstAmericanInternationalStatutoryTrustI1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FirstAmericanInternationalStatutoryTrustI1Member",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "First American International Statutory Trust I 1[Member]",
        "documentation": "Represents information related to fist American international statutory trust !."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
        "periodStartLabel": "Cash and cash equivalents at beginning of period",
        "periodEndLabel": "Cash and cash equivalents at end of period",
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including, but not limited to, 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": [
      "r40",
      "r128",
      "r255"
     ]
    },
    "ecd_InsiderTradingArrLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "InsiderTradingArrLineItems",
     "auth_ref": [
      "r926"
     ]
    },
    "rbb_TimeDeposits250000OrLess": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDeposits250000OrLess",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_TimeDeposits250000OrLess",
        "totalLabel": "Total, 250,000 and under",
        "documentation": "Amount of time deposit liabilities, including certificates of deposit, in denominations of $250,000 or Less."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableRealEstate",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real estate",
        "documentation": "Amount before allowance of real estate loans."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TimeDepositsOver250000": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositsOver250000",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_TimeDepositsOver250000",
        "totalLabel": "Total, over 250,000",
        "documentation": "Amount of time deposit liabilities, including certificates of deposit, in denominations of over $250,000."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_ForwardMortgageLoanSaleContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ForwardMortgageLoanSaleContractsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forward Mortgage Loan Sale Contracts [Member]",
        "documentation": "Represents forward mortgage loan sale contracts."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TireOneLeverageCapitalRequiredPlusCapitalConservationBufferFullyPhasedInAverageAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TireOneLeverageCapitalRequiredPlusCapitalConservationBufferFullyPhasedInAverageAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Leverage Ratio, Minimum Required Plus Capital Conservation Buffer Fully Phased-In Ratio",
        "documentation": "Represents tier one leverage capital required plus capital conservation buffer fully phased in average assets."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TireOneLeverageCapitalRequiredPlusCapitalConservationBufferFullyPhasedInAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TireOneLeverageCapitalRequiredPlusCapitalConservationBufferFullyPhasedInAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Leverage Ratio, Minimum Required Plus Capital Conservation Buffer Fully Phased-In Amount",
        "documentation": "Represents tire one leverage capital required plus capital conversion buffer fully phased in amount."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 16 - Stock-based Compensation - Schedule of Weighted Average Assumption for Fair Value of Option Grant Estimated Using Black-Scholes Option Pricing Model (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TransferFromTransferToLoansHeldForSaleNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TransferFromTransferToLoansHeldForSaleNet",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans transfer to held for sale, net",
        "documentation": "Value of loans and leases held in the entity's portfolio (transferred from) transferred to loans and leases held-for-sale in noncash transactions"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_TrustPreferredSecuritiesLiquidationAmountPerPreferredSecurity": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TrustPreferredSecuritiesLiquidationAmountPerPreferredSecurity",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_TrustPreferredSecuritiesLiquidationAmountPerPreferredSecurity",
        "terseLabel": "Trust Preferred Securities Lquidation Amount Per Preferred Security (in dollars per share)",
        "documentation": "Represents amount per preferred security for trust preferred securities."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_InsuranceAndRegulatoryAssessments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "InsuranceAndRegulatoryAssessments",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insurance and regulatory assessments",
        "documentation": "The amount of expense for insurance and regulatory assessments."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_UnfundedLoanCommitmentsAvailableToRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "UnfundedLoanCommitmentsAvailableToRelatedParties",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_UnfundedLoanCommitmentsAvailableToRelatedParties",
        "terseLabel": "Unfunded Loan Commitments, Available To Related Parties",
        "documentation": "Represents available to related parties for unfunded loan commitments."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_WeightedAverageNumberOfSharesImpact": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "WeightedAverageNumberOfSharesImpact",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impact of weighting shares, shares (in shares)",
        "documentation": "Represents weighted average number of shares impact."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_WellsFargoBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "WellsFargoBankMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Wells Fargo Bank [Member]",
        "documentation": "Represents information related to Wells Fargo Bank."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtAmortizedValueAmortization1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetAtAmortizedValueAmortization1",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ServicingAssetAtAmortizedValueAmortization1",
        "negatedLabel": "Amortized to expense",
        "documentation": "Amount of amortization of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r667"
     ]
    },
    "us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateAtPeriodEnd": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateAtPeriodEnd",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateAtPeriodEnd",
        "terseLabel": "Federal Home Loan Bank, Advances, Activity for Year, Average Interest Rate at Period End",
        "documentation": "The calculated weighted average interest rate for Federal Home Loan Bank advances outstanding as of the Balance Sheet date."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "rbb_WriteDownOnOtherRealEstateOwned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "WriteDownOnOtherRealEstateOwned",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_WriteDownOnOtherRealEstateOwned",
        "terseLabel": "Write Down on Other Real Estate Owned",
        "documentation": "Represents write down on other real estate owned."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": []
    },
    "rbb_statement-statement-note-16-stockbased-compensation-restricted-stock-activity-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-16-stockbased-compensation-restricted-stock-activity-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 16 - Stock-based Compensation - Restricted Stock Activity (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-13-commitments-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-13-commitments-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 13 - Commitments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding at end of period, weighted average remaining contractual term (Year)",
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "rbb_statement-statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 13 - Commitments - Schedule of Financial Commitments Represents Credit Risk (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Options exercisable, Weighted Average Remaining Contractual Term (Year)",
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "rbb_statement-statement-note-15-related-party-transactions-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-15-related-party-transactions-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 15 - Related Party Transactions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Diluted (in shares)",
        "totalLabel": "Used in dilutive EPS, shares (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": [
      "r284",
      "r299"
     ]
    },
    "rbb_IncreaseDecreaseInCashSurrenderValueOfLifeInsurance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "IncreaseDecreaseInCashSurrenderValueOfLifeInsurance",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_IncreaseDecreaseInCashSurrenderValueOfLifeInsurance",
        "negatedLabel": "Increase in cash surrender value of life insurance",
        "documentation": "The increase (decrease) during the period in the cash surrender value of life insurance policies."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-14-leases-future-minimum-rent-payments-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-14-leases-future-minimum-rent-payments-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 14 - Leases - Future Minimum Rent Payments (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-14-leases-operating-lease-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-14-leases-operating-lease-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 14 - Leases - Operating Lease (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-14-leases-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-14-leases-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 14 - Leases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expected term (years) (Year)",
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r512"
     ]
    },
    "rbb_statement-statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 15 - Related Party Transactions - Loans to Principal Officers, Directors, and Their Affiliates (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value."
       }
      }
     },
     "auth_ref": [
      "r448",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r484",
      "r644",
      "r645",
      "r646",
      "r888",
      "r889",
      "r894",
      "r895",
      "r896"
     ]
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementFrequencyDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Frequency [Domain]",
        "documentation": "Measurement frequency."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FederalHomeLoanBankBorrowingsFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "FHLB advances",
        "label": "us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure",
        "documentation": "Fair value portion of borrowing from Federal Home Loan Bank (FHLBank)."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Less than one year, Held to Maturity, Amortized Cost",
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r355",
      "r690"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Common Stock, Shares Outstanding",
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialAssetNotPastDueMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Not Past Due [Member]",
        "documentation": "Financial asset not past due."
       }
      }
     },
     "auth_ref": [
      "r391",
      "r884"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than one year to five years, Held to maturity, Amortized Cost",
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r356",
      "r691"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than five years to ten years, Held to maturity Amortized Cost",
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing in sixth through tenth 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": [
      "r357",
      "r692"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than ten years, Held to Maturity, Amortized Cost",
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing after tenth 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": [
      "r358",
      "r693"
     ]
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table Text Block]",
        "documentation": "Tabular disclosure of the capital amounts and ratios as of the balance sheet date, indicating whether the entity or entities are in compliance with regulatory capital requirements, by entity."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r706"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Granted, Weighted Average Exercise Price (in dollars per share)",
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options."
       }
      }
     },
     "auth_ref": [
      "r498"
     ]
    },
    "us-gaap_PreferredStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock - 100,000,000 shares authorized, no par value; none outstanding",
        "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": [
      "r115",
      "r712",
      "r905"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exercised, Weighted Average Exercise Price (in dollars per share)",
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares."
       }
      }
     },
     "auth_ref": [
      "r499"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forfeited/cancelled, Weighted Average Exercise Price (in dollars per share)",
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated."
       }
      }
     },
     "auth_ref": [
      "r500"
     ]
    },
    "us-gaap_HeldToMaturitySecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Held to maturity (fair value of $4,750 and $5,563 at September 30, 2023 and December 31, 2022, respectively)",
        "documentation": "Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r202",
      "r350",
      "r391",
      "r999"
     ]
    },
    "us-gaap_MarketableSecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MarketableSecuritiesAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Securities:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained earnings",
        "terseLabel": "Retained earnings, net of tax",
        "documentation": "Amount of accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r118",
      "r141",
      "r715",
      "r739",
      "r744",
      "r747",
      "r778",
      "r905"
     ]
    },
    "us-gaap_UseOfEstimates": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UseOfEstimates",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r53",
      "r54",
      "r198",
      "r199",
      "r200",
      "r201"
     ]
    },
    "us-gaap_LoansAndLeasesReceivableRelatedPartiesProceeds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableRelatedPartiesProceeds",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LoansAndLeasesReceivableRelatedPartiesProceeds",
        "negatedLabel": "Repayments",
        "documentation": "Amount of cash inflow from related parties which reduce the amount of loans and leases receivable due from related parties."
       }
      }
     },
     "auth_ref": [
      "r204",
      "r958"
     ]
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeContractTypeDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Contract [Domain]",
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset."
       }
      }
     },
     "auth_ref": [
      "r764",
      "r767",
      "r782",
      "r783",
      "r784",
      "r786",
      "r787",
      "r788",
      "r789",
      "r791",
      "r792",
      "r793",
      "r794",
      "r807",
      "r808",
      "r809",
      "r810",
      "r813",
      "r814",
      "r815",
      "r816",
      "r833",
      "r834",
      "r839",
      "r842",
      "r909",
      "r911"
     ]
    },
    "rbb_FederalHomeLoanBankOvernightAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FederalHomeLoanBankOvernightAdvancesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Overnight Advances [Member]",
        "documentation": "Overnight borrowings from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and also in times of liquidity shortages. The member institution executes a promissory note, which is generally collateralized by government securities to the Federal Reserve or loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestExpenseAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest expense:"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FederalReserveBankOfSanFranciscoSecuredLineOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FederalReserveBankOfSanFranciscoSecuredLineOfCreditMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Reserve Bank of San Francisco Secured Line of Credit [Member]",
        "documentation": "Represents information related to Federal Reserve Bank of San Francisco secured line of credit."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoninterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NoninterestExpense",
        "totalLabel": "Noninterest Expense",
        "documentation": "Total aggregate amount of all noninterest expense."
       }
      }
     },
     "auth_ref": [
      "r167"
     ]
    },
    "rbb_FederalHomeLoanBankSecuredLineOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FederalHomeLoanBankSecuredLineOfCreditMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Secured Line of Credit [Member]",
        "documentation": "Represents information related to the Federal Home Loan Bank secured line of credit."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseRightOfUseAssetAmortizationExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization of right-of-use asset",
        "documentation": "Amount of periodic reduction over lease term of carrying amount of right-of-use asset from operating lease."
       }
      }
     },
     "auth_ref": [
      "r963"
     ]
    },
    "rbb_ExecutiveOfficersDirectorsAndTheirRelatedInterestsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ExecutiveOfficersDirectorsAndTheirRelatedInterestsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Officers, Directors and their Related Interests [Member]",
        "documentation": "Represents information related to executive officers, directors and their related interests."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_EmployeeServiceShareBasedCompensationTaxChargeBenefitFromExerciseOfStockOptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "EmployeeServiceShareBasedCompensationTaxChargeBenefitFromExerciseOfStockOptions",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_EmployeeServiceShareBasedCompensationTaxChargeBenefitFromExerciseOfStockOptions",
        "terseLabel": "Employee Service Share Based Compensation Tax Charge (Benefit) from Exercise Of Stock Options",
        "documentation": "Employee service share based compensation tax charge (benefit) from exercise of stock options."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CommercialAndIndustrialMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommercialAndIndustrialMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial and Industrial [Member]",
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial and industrial receivables."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CommercialCollateralizedMortgageObligationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommercialCollateralizedMortgageObligationsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Collateralized Mortgage Obligations [Member]",
        "documentation": "Related to commercial collateralized mortgage obligations."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CommercialAndSimilarLettersOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommercialAndSimilarLettersOfCreditMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial And Similar Letters Of Credit [Member]",
        "documentation": "Represents information related to commercial and similar letters of credit."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities [Axis]",
        "documentation": "Information by type of antidilutive security."
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "rbb_CommericalRealEstateLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommericalRealEstateLoansMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commerical Real Estate Loans [Member]",
        "documentation": "Represents information related to commercial real estate loans."
       }
      }
     },
     "auth_ref": []
    },
    "srt_ScenarioForecastMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ScenarioForecastMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]"
       }
      }
     },
     "auth_ref": [
      "r486",
      "r973"
     ]
    },
    "rbb_FinancingReceivableRevolvingConvertedToTermLoanRecovery": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableRevolvingConvertedToTermLoanRecovery",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries, Revolving converted to term loans",
        "label": "rbb_FinancingReceivableRevolvingConvertedToTermLoanRecovery",
        "documentation": "Amount of increase in allowance for credit loss on financing receivable converted to term loan from recovery."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets, Total",
        "totalLabel": "Total assets acquired",
        "documentation": "Amount of assets acquired at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "rbb_AccruedInterestAndOtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "AccruedInterestAndOtherLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued interest and other liabilities",
        "documentation": "Amount of interest incurred but not yet paid, and liabilities classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CommitmentsToMakeLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommitmentsToMakeLoansMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments to Make Loans [Member]",
        "documentation": "Represents commitments to make loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
        "terseLabel": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount (in shares)",
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented."
       }
      }
     },
     "auth_ref": [
      "r300"
     ]
    },
    "rbb_CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedassets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedassets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedassets",
        "terseLabel": "Common Equity Tier 1 Risk-Based Capital Ratio, Minimum Required for Capital Adequacy Purposes Ratio",
        "documentation": "Represents common equity tier one risk based capital required for capital adequacy to risk weighted assets."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CommonEquityTierOneCapitalRequiredPlusCapitalConversationBufferFullyPhasedInAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommonEquityTierOneCapitalRequiredPlusCapitalConversationBufferFullyPhasedInAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Equity Tier 1 Risk-Based Capital Ratio, Minimum Required Plus Capital Conversation Buffer Fully Phased-In, Amount",
        "documentation": "Represents common equity tier once capital required plus capital conversion buffer fully phased in amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net income per share"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CommonSecuritiesLiquidationPreferenceValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommonSecuritiesLiquidationPreferenceValue",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_CommonSecuritiesLiquidationPreferenceValue",
        "terseLabel": "Common Securities Liquidation Preference Value",
        "documentation": "Represents preference value for common securities liquidation."
       }
      }
     },
     "auth_ref": []
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "auth_ref": [
      "r280",
      "r486",
      "r933",
      "r934",
      "r973"
     ]
    },
    "rbb_CommonUnitLiquidationPreferenceValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommonUnitLiquidationPreferenceValue",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_CommonUnitLiquidationPreferenceValue",
        "terseLabel": "Common Unit Liquidation Preference Value",
        "documentation": "Represents preference value for common unit liquidation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
        "totalLabel": "Income before income 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": [
      "r1",
      "r121",
      "r158",
      "r306",
      "r312",
      "r316",
      "r318",
      "r689",
      "r719",
      "r875"
     ]
    },
    "rbb_CommonequityTierOneCapitalRequiredPlusCapitalConversationBufferFullyPhasedIntoRiskWeightedAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CommonequityTierOneCapitalRequiredPlusCapitalConversationBufferFullyPhasedIntoRiskWeightedAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Equity Tier 1 Risk-Based Capital Ratio, Minimum Required Plus Capital Conversation Buffer Fully Phased-In, Ratio",
        "documentation": "Represents equity tier one capital required plus capital conversation buffer fully phased in to risk weighted assets."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_ConstructionAndLandDevelopmentLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ConstructionAndLandDevelopmentLoansMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Construction And Land Development Loans [Member]",
        "documentation": "Represents information related to construction and land development loans."
       }
      }
     },
     "auth_ref": []
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankStateDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CoreDepositPremiumExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CoreDepositPremiumExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Core deposit premium",
        "documentation": "The amount of core deposit premium expense."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cash and cash equivalents",
        "label": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents",
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "auth_ref": [
      "r280",
      "r486",
      "r933",
      "r973"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities, Total",
        "totalLabel": "Total liabilities assumed",
        "documentation": "Amount of liabilities assumed at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "rbb_DebtAmortizationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DebtAmortizationExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_DebtAmortizationExpense",
        "terseLabel": "Debt Amortization Expense",
        "documentation": "Represents amortization expenses of debt."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_DividendIncomeOnFederalHomeLoanBankStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DividendIncomeOnFederalHomeLoanBankStock",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend income on FHLB stock",
        "documentation": "The amount of dividend income in the period on Federal Home Loan Bank stock."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_DebtInstrumentRedemptionPercentageOfPrincipalAmountOutstanding": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DebtInstrumentRedemptionPercentageOfPrincipalAmountOutstanding",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_DebtInstrumentRedemptionPercentageOfPrincipalAmountOutstanding",
        "terseLabel": "Debt Instrument Redemption, Percentage of Principal Amount Outstanding",
        "documentation": "Represents percentage of principal amount outstanding for debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic",
        "negatedLabel": "Less: Earnings allocated to participating securities, income",
        "documentation": "Amount of undistributed earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method."
       }
      }
     },
     "auth_ref": [
      "r293",
      "r296",
      "r297"
     ]
    },
    "rbb_DebtInstrumentMaximumNumberOfPeriodForDeferredInterestPayments": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DebtInstrumentMaximumNumberOfPeriodForDeferredInterestPayments",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_DebtInstrumentMaximumNumberOfPeriodForDeferredInterestPayments",
        "terseLabel": "Debt Instrument, Maximum Number Of Period For Deferred Interest Payments (Year)",
        "documentation": "Represents maximum number of period for deferred interest payments."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_DepreciationAndAmortizationOfPremisesAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DepreciationAndAmortizationOfPremisesAndEquipment",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation and amortization of premises and equipment",
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of premises and equipment to periods that benefit from use of the assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RestrictedStockUnitsRSUMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Stock Units (RSUs) [Member]",
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate, Type of Property [Axis]"
       }
      }
     },
     "auth_ref": [
      "r855",
      "r856",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864"
     ]
    },
    "rbb_DerivativeBuyPrice": {
     "xbrltype": "perUnitItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DerivativeBuyPrice",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_DerivativeBuyPrice",
        "terseLabel": "Derivative, Buy Price (in USD per Per Share)",
        "documentation": "The buy price on derivative."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndDueFromBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndDueFromBanks",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and due from banks",
        "documentation": "For banks and other depository institutions: Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks."
       }
      }
     },
     "auth_ref": [
      "r151"
     ]
    },
    "rbb_DerivativeSalePrice": {
     "xbrltype": "perUnitItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DerivativeSalePrice",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_DerivativeSalePrice",
        "terseLabel": "Derivative, Sale Price (in USD per Per Share)",
        "documentation": "The sale price of derivative."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_DirectorsAndTheirAffiliatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DirectorsAndTheirAffiliatesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors and Their Affiliates [Member]",
        "documentation": "Represents directors and their affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableRevolvingConvertedToTermLoanWriteoffAfterRecovery": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableRevolvingConvertedToTermLoanWriteoffAfterRecovery",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net, Revolving converted to term loans",
        "label": "rbb_FinancingReceivableRevolvingConvertedToTermLoanWriteoffAfterRecovery",
        "documentation": "Amount, after recovery, of writeoff of financing receivable converted to term loan, charged against allowance for credit loss."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_DirectorsAndExecutiveOfficersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "DirectorsAndExecutiveOfficersMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors and Executive Officers [Member]",
        "documentation": "Represents information related to directors and executive officers."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableRateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableRateAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Rate [Axis]",
        "documentation": "Information by type of variable rate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableBeforeAllowanceForCreditLossAndFee",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
        "totalLabel": "Total loans",
        "documentation": "Amortized cost, before allowance for credit loss, fee, and loan in process, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r396",
      "r977",
      "r1077"
     ]
    },
    "us-gaap_VariableRateDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableRateDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Rate [Domain]",
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ReportingUnitPercentageOfFairValueInExcessOfCarryingAmount": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ReportingUnitPercentageOfFairValueInExcessOfCarryingAmount",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ReportingUnitPercentageOfFairValueInExcessOfCarryingAmount",
        "terseLabel": "Reporting Unit, Percentage of Fair Value in Excess of Carrying Amount",
        "documentation": "Percentage of fair value of reporting unit in excess of carrying amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputTypeAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input Type [Axis]",
        "documentation": "Information by type of measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r584"
     ]
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestIncomeExpenseNet",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestIncomeExpenseNet",
        "totalLabel": "Net interest income",
        "documentation": "The net amount of operating interest income (expense)."
       }
      }
     },
     "auth_ref": [
      "r161"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Text Block]",
        "documentation": "The entire disclosure for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r487",
      "r490",
      "r518",
      "r519",
      "r521",
      "r900"
     ]
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CorporateDebtSecuritiesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Corporate Debt Securities [Member]",
        "documentation": "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment."
       }
      }
     },
     "auth_ref": [
      "r894",
      "r896",
      "r1082"
     ]
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
        "totalLabel": "Used in basic EPS, income",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r247",
      "r272",
      "r273",
      "r274",
      "r275",
      "r282",
      "r283",
      "r294",
      "r299",
      "r306",
      "r312",
      "r316",
      "r318",
      "r875"
     ]
    },
    "us-gaap_CreditLossStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditLossStatusAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Loss Status [Axis]",
        "documentation": "Information by credit loss status of financial asset."
       }
      }
     },
     "auth_ref": [
      "r979",
      "r998",
      "r1003"
     ]
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LeaseCostTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost [Table Text Block]",
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income."
       }
      }
     },
     "auth_ref": [
      "r1061"
     ]
    },
    "us-gaap_CreditLossStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditLossStatusDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Loss Status [Domain]",
        "documentation": "Credit loss status of financial asset."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProvisionForLoanLossesExpensed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProvisionForLoanLossesExpensed",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ProvisionForLoanLossesExpensed",
        "terseLabel": "Provisions",
        "documentation": "Amount of credit loss expense (reversal of expense) for financing receivable."
       }
      }
     },
     "auth_ref": [
      "r387",
      "r684"
     ]
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_Liabilities",
        "totalLabel": "Total liabilities",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future."
       }
      }
     },
     "auth_ref": [
      "r25",
      "r257",
      "r370",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r551",
      "r554",
      "r555",
      "r595",
      "r775",
      "r874",
      "r919",
      "r1013",
      "r1066",
      "r1067"
     ]
    },
    "us-gaap_ChangeDuringPeriodFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ChangeDuringPeriodFairValueDisclosureMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes Measurement [Member]",
        "documentation": "Measure of change in fair value."
       }
      }
     },
     "auth_ref": [
      "r94"
     ]
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InternalCreditAssessmentAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Internal Credit Assessment [Axis]",
        "documentation": "Information by entity-defined rating."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r556",
      "r882",
      "r883",
      "r1002"
     ]
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable Portfolio Segment [Domain]",
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses."
       }
      }
     },
     "auth_ref": [
      "r210",
      "r211",
      "r215",
      "r216",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r946",
      "r947",
      "r949",
      "r950",
      "r951"
     ]
    },
    "us-gaap_CommonUnitIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonUnitIssued",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CommonUnitIssued",
        "terseLabel": "Common Unit, Issued (in shares)",
        "documentation": "Number of common units issued of limited liability company (LLC)."
       }
      }
     },
     "auth_ref": [
      "r141"
     ]
    },
    "us-gaap_MinorityInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MinorityInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-controlling interest",
        "documentation": "Amount of equity (deficit) attributable to noncontrolling interest. Excludes temporary equity."
       }
      }
     },
     "auth_ref": [
      "r32",
      "r155",
      "r257",
      "r370",
      "r425",
      "r427",
      "r428",
      "r429",
      "r432",
      "r433",
      "r595",
      "r716",
      "r779"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedInCurrentFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Current fiscal year",
        "label": "us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear",
        "documentation": "Amortized cost of financing receivable originated in current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss",
        "terseLabel": "Debt Securities, Available-for-Sale, Accrued Interest, after Allowance for Credit Loss",
        "documentation": "Amount, after allowance for credit loss, of accrued interest on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r343",
      "r399",
      "r400",
      "r401"
     ]
    },
    "us-gaap_MortgagesHeldForSaleFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MortgagesHeldForSaleFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Mortgage loans held for sale",
        "label": "us-gaap_MortgagesHeldForSaleFairValueDisclosure",
        "documentation": "Fair value portion of mortgage loans held-for-sale."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables."
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LiabilitiesAndStockholdersEquity",
        "totalLabel": "Total liabilities and shareholders\u2019 equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r119",
      "r156",
      "r717",
      "r905",
      "r966",
      "r995",
      "r1059"
     ]
    },
    "us-gaap_FinancingReceivableRevolving": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRevolving",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Revolving",
        "label": "us-gaap_FinancingReceivableRevolving",
        "documentation": "Amortized cost of financing receivable that can be withdrawn, repaid, and redrawn."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_LaborAndRelatedExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LaborAndRelatedExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Salaries and employee benefits",
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit."
       }
      }
     },
     "auth_ref": [
      "r957"
     ]
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable Portfolio Segment [Axis]",
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses."
       }
      }
     },
     "auth_ref": [
      "r210",
      "r211",
      "r215",
      "r216",
      "r384",
      "r385",
      "r877",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r946",
      "r947",
      "r949",
      "r950",
      "r951"
     ]
    },
    "us-gaap_CommonStockNoParValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockNoParValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock, par value (in dollars per share)",
        "documentation": "Face amount per share of no-par value common stock."
       }
      }
     },
     "auth_ref": [
      "r116"
     ]
    },
    "us-gaap_FinancingReceivableRevolvingConvertedToTermLoan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRevolvingConvertedToTermLoan",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Revolving converted to term loans",
        "label": "us-gaap_FinancingReceivableRevolvingConvertedToTermLoan",
        "documentation": "Amortized cost of revolving financing receivable converted to term loan."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r883"
     ]
    },
    "us-gaap_InterestExpenseNOWAccountsMoneyMarketAccountsAndSavingsDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseNOWAccountsMoneyMarketAccountsAndSavingsDeposits",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest on savings deposits, now and money market accounts",
        "documentation": "The aggregate interest expense incurred on the following for deposits in domestic offices: (1) transaction accounts (NOW, and telephone and preauthorized transfer accounts), (2) money market deposits and (3) savings deposits."
       }
      }
     },
     "auth_ref": [
      "r169"
     ]
    },
    "us-gaap_OffBalanceSheetCreditLossLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OffBalanceSheetCreditLossLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OffBalanceSheetCreditLossLiability",
        "terseLabel": "Off-Balance-Sheet, Credit Loss, Liability",
        "documentation": "Amount of expected credit loss for credit exposure on off-balance-sheet commitment, including but not limited to, loan commitment, standby letter of credit, financial guarantee not accounted for as insurance. Excludes off-balance sheet credit exposure accounted for as insurance and instrument accounted for under derivatives and hedging."
       }
      }
     },
     "auth_ref": [
      "r383",
      "r423"
     ]
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reported Value Measurement [Member]",
        "documentation": "Measured as reported on the statement of financial position (balance sheet)."
       }
      }
     },
     "auth_ref": [
      "r92",
      "r93"
     ]
    },
    "us-gaap_AccountingStandardsUpdate201613Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountingStandardsUpdate201613Member",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update 2016-13 [Member]",
        "documentation": "Accounting Standards Update 2016-13 Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments."
       }
      }
     },
     "auth_ref": [
      "r371"
     ]
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portion at Fair Value Measurement [Member]",
        "documentation": "Measured at fair value for financial reporting purposes."
       }
      }
     },
     "auth_ref": [
      "r593"
     ]
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Estimate of Fair Value Measurement [Member]",
        "documentation": "Measured as an estimate of fair value."
       }
      }
     },
     "auth_ref": [
      "r448",
      "r594",
      "r888",
      "r889"
     ]
    },
    "us-gaap_MeasurementInputComparabilityAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputComparabilityAdjustmentMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Comparability Adjustment [Member]",
        "documentation": "Measurement input using adjustment to observed price for similar asset or liability when identical transaction does not exist."
       }
      }
     },
     "auth_ref": [
      "r1058"
     ]
    },
    "us-gaap_LongTermDebtTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt [Text Block]",
        "documentation": "The entire disclosure for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r136"
     ]
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cash and due from banks",
        "label": "us-gaap_CashAndCashEquivalentsFairValueDisclosure",
        "documentation": "Fair value portion 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."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesTwoFiscalYearBeforeCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableAllowanceForCreditLossRecoveriesTwoFiscalYearBeforeCurrentFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries, Two fiscal year before current",
        "label": "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesTwoFiscalYearBeforeCurrentFiscalYear",
        "documentation": "The recoveries in two fiscal year before current fiscal year for allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableOriginatedInThreeFiscalYearsBeforeCurrentFiscalYearNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableOriginatedInThreeFiscalYearsBeforeCurrentFiscalYearNet",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net, Three fiscal year before current",
        "label": "rbb_FinancingReceivableOriginatedInThreeFiscalYearsBeforeCurrentFiscalYearNet",
        "documentation": "The net recoveries (write-off) of financing receivable originated in three fiscal years before current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableCommercialAndOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableCommercialAndOther",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial and other",
        "documentation": "Loans receivable commercial and other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AntidilutiveSecuritiesNameDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities, Name [Domain]",
        "documentation": "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented."
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r92"
     ]
    },
    "rbb_FinancingReceivablesCollateralDependentWritedown": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivablesCollateralDependentWritedown",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_FinancingReceivablesCollateralDependentWritedown",
        "terseLabel": "Financing Receivables, Collateral Dependent, Write-down",
        "documentation": "The amount of write-down related to collateral dependent loans."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableOriginatedInCurrentFiscalYearNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableOriginatedInCurrentFiscalYearNet",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net, Current fiscal year",
        "label": "Net recoveries (charge-offs), Current fiscal year",
        "documentation": "The net recoveries (write-off) of financing receivable originated in current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Finite-Lived Intangibles",
        "documentation": "The amount of identifiable intangible assets recognized as of the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r78"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancialLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancialLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Deposits",
        "label": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancialLiabilities",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Financial Liabilities",
        "documentation": "The amount of financial liabilities assumed (as defined) which have been recognized as of the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r78"
     ]
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": [
      "r581"
     ]
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongtermDebtTypeAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Type [Axis]",
        "documentation": "Information by type of long-term debt."
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Goodwill recognized",
        "label": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
        "documentation": "Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r78"
     ]
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationAcquiredReceivablesFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_BusinessCombinationAcquiredReceivablesFairValue",
        "terseLabel": "Business Combination, Acquired Receivable, Fair Value",
        "documentation": "Fair value of acquired receivable from business combination, excluding certain loans and debt securities acquired in transfer."
       }
      }
     },
     "auth_ref": [
      "r543"
     ]
    },
    "us-gaap_NatureOfOperations": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NatureOfOperations",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nature of Operations [Text Block]",
        "documentation": "The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings. For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward."
       }
      }
     },
     "auth_ref": [
      "r197",
      "r205"
     ]
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementTable",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Table]",
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed."
       }
      }
     },
     "auth_ref": [
      "r264",
      "r265",
      "r266",
      "r305",
      "r676",
      "r745",
      "r755",
      "r768",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r777",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r786",
      "r787",
      "r788",
      "r789",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r797",
      "r799",
      "r800",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r819",
      "r912"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
        "negatedLabel": "Less amount of payment representing interest",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease."
       }
      }
     },
     "auth_ref": [
      "r622"
     ]
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Type [Axis]",
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r757",
      "r759",
      "r760",
      "r762",
      "r765",
      "r824",
      "r826",
      "r828",
      "r831",
      "r832",
      "r844",
      "r845",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851",
      "r911"
     ]
    },
    "us-gaap_DeferredIncomeTaxesAndTaxCredits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredIncomeTaxesAndTaxCredits",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax benefit",
        "documentation": "Amount of deferred income tax expense (benefit) and income tax credits."
       }
      }
     },
     "auth_ref": [
      "r130"
     ]
    },
    "rbb_FinitelivedIntangibleAssetExpectedAmortizationAfterYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinitelivedIntangibleAssetExpectedAmortizationAfterYearFour",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_FinitelivedIntangibleAssetExpectedAmortizationAfterYearFour",
        "terseLabel": "Thereafter, amortization expense",
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized after the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Total present value of lease payments",
        "label": "Lease liabilities - operating leases",
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease."
       }
      }
     },
     "auth_ref": [
      "r619"
     ]
    },
    "rbb_FloatingRateMaturityPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FloatingRateMaturityPeriod",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_FloatingRateMaturityPeriod",
        "terseLabel": "Floating Rate Maturity Period (Year)",
        "documentation": "Represents maturity period for floating rate."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableTroubledDebtRestructuringSubsequentDefaultNumberOfContracts": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableTroubledDebtRestructuringSubsequentDefaultNumberOfContracts",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_FinancingReceivableTroubledDebtRestructuringSubsequentDefaultNumberOfContracts",
        "terseLabel": "Financing Receivable, Troubled Debt Restructuring, Subsequent Default, Number of Contracts",
        "documentation": "Number of financing receivable contracts modified as troubled debt restructuring within previous 12 months, with subsequent payment default."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableNumberOfLoans90DaysPastDueAndStillAccruing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableNumberOfLoans90DaysPastDueAndStillAccruing",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_FinancingReceivableNumberOfLoans90DaysPastDueAndStillAccruing",
        "terseLabel": "Financing Receivable Number Of Loans 90 Days Past Due And Still Accruing",
        "documentation": "Financing receivable number of loans 90 days past due and still accruing."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ResidentialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Residential Mortgage-Backed Securities [Member]",
        "documentation": "Securities collateralized by residential real estate mortgage loans."
       }
      }
     },
     "auth_ref": [
      "r982",
      "r983",
      "r988",
      "r989",
      "r990",
      "r1020"
     ]
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialAssetPastDueMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Past Due [Member]",
        "documentation": "Financial asset past due."
       }
      }
     },
     "auth_ref": [
      "r391",
      "r884",
      "r978"
     ]
    },
    "rbb_FinancingReceivableOriginatedInTwoFiscalYearsBeforeCurrentFiscalYearNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableOriginatedInTwoFiscalYearsBeforeCurrentFiscalYearNet",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net, Two fiscal year before current",
        "label": "rbb_FinancingReceivableOriginatedInTwoFiscalYearsBeforeCurrentFiscalYearNet",
        "documentation": "The net recoveries (write-off) of financing receivable originated in two fiscal years before current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInOperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInOperatingLeaseLiability",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Change in operating lease liabilities",
        "documentation": "Amount of increase (decrease) in obligation for operating lease."
       }
      }
     },
     "auth_ref": [
      "r938",
      "r962"
     ]
    },
    "us-gaap_DepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepositsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits [Member]",
        "documentation": "Amounts held on account by the entity representing a liability to the depositor. Deposits may take various forms (for example, demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits) and may be categorized in multiple ways (such as, foreign and domestic, interest and noninterest bearing)."
       }
      }
     },
     "auth_ref": [
      "r172"
     ]
    },
    "us-gaap_DividendsCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsCash",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DividendsCash",
        "negatedLabel": "Cash dividends on common stock",
        "documentation": "Amount of paid and unpaid cash dividends declared for classes of stock, for example, but not limited to, common and preferred."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r141"
     ]
    },
    "us-gaap_RevenueNotFromContractWithCustomer": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenueNotFromContractWithCustomer",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest income, not in scope (3)",
        "documentation": "Amount of revenue that is not accounted for under Topic 606."
       }
      }
     },
     "auth_ref": [
      "r940"
     ]
    },
    "us-gaap_RelatedPartyDepositLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyDepositLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_RelatedPartyDepositLiabilities",
        "terseLabel": "Related Party Deposit Liabilities",
        "documentation": "Amount of deposits held by the entity for a related party (entity, shareholder, employee)."
       }
      }
     },
     "auth_ref": [
      "r967"
     ]
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansReceivableFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loans, net",
        "label": "us-gaap_LoansReceivableFairValueDisclosure",
        "documentation": "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts."
       }
      }
     },
     "auth_ref": [
      "r55"
     ]
    },
    "us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RepaymentsOfFederalHomeLoanBankBorrowings",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings",
        "negatedLabel": "Repayments of FHLB Advances",
        "documentation": "Amount of cash outflow for repayment of Federal Home Loan Bank (FHLBank) borrowing, classified as financing activity."
       }
      }
     },
     "auth_ref": [
      "r959"
     ]
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Share-Based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions."
       }
      }
     },
     "auth_ref": [
      "r143"
     ]
    },
    "us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationMethodQualifiedAffordableHousingProjectInvestments",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments",
        "terseLabel": "Amortization Method Qualified Affordable Housing Project Investments",
        "documentation": "Amount of investment in qualified affordable housing projects."
       }
      }
     },
     "auth_ref": [
      "r930"
     ]
    },
    "us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization",
        "terseLabel": "Amortization Method Qualified Affordable Housing Project Investments, Amortization",
        "documentation": "Amount of amortization expense of investment in qualified affordable housing projects."
       }
      }
     },
     "auth_ref": [
      "r931"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "ROU assets",
        "label": "Right-of-use assets- operating leases",
        "documentation": "Amount of lessee's right to use underlying asset under operating lease."
       }
      }
     },
     "auth_ref": [
      "r618"
     ]
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r419",
      "r420",
      "r421",
      "r422",
      "r478",
      "r485",
      "r513",
      "r514",
      "r515",
      "r647",
      "r675",
      "r732",
      "r766",
      "r767",
      "r825",
      "r827",
      "r829",
      "r830",
      "r846",
      "r866",
      "r867",
      "r876",
      "r892",
      "r899",
      "r908",
      "r911",
      "r1006",
      "r1017",
      "r1069",
      "r1070",
      "r1071",
      "r1072",
      "r1073"
     ]
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeasesTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Leases [Text Block]",
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability."
       }
      }
     },
     "auth_ref": [
      "r617"
     ]
    },
    "us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Nonaccrual [Table Text Block]",
        "documentation": "Tabular disclosure of financing receivable on nonaccrual status."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r392"
     ]
    },
    "us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "QualifiedAffordableHousingProjectInvestmentsCommitment",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment",
        "terseLabel": "Qualified Affordable Housing Project Investments, Commitment",
        "documentation": "Amount of commitment or contingent commitments to qualified affordable housing project investments."
       }
      }
     },
     "auth_ref": [
      "r932"
     ]
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "auth_ref": [
      "r419",
      "r420",
      "r421",
      "r422",
      "r485",
      "r675",
      "r732",
      "r766",
      "r767",
      "r825",
      "r827",
      "r829",
      "r830",
      "r846",
      "r866",
      "r867",
      "r876",
      "r892",
      "r899",
      "r908",
      "r1017",
      "r1068",
      "r1069",
      "r1070",
      "r1071",
      "r1072",
      "r1073"
     ]
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AllocatedShareBasedCompensationExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AllocatedShareBasedCompensationExpense",
        "terseLabel": "Share-Based Payment Arrangement, Expense",
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r525"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r419",
      "r420",
      "r421",
      "r422",
      "r478",
      "r485",
      "r513",
      "r514",
      "r515",
      "r647",
      "r675",
      "r732",
      "r766",
      "r767",
      "r825",
      "r827",
      "r829",
      "r830",
      "r846",
      "r866",
      "r867",
      "r876",
      "r892",
      "r899",
      "r908",
      "r911",
      "r1006",
      "r1017",
      "r1069",
      "r1070",
      "r1071",
      "r1072",
      "r1073"
     ]
    },
    "us-gaap_ValuationAllowancesAndReservesBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ValuationAllowancesAndReservesBalance",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ValuationAllowancesAndReservesBalance",
        "terseLabel": "SEC Schedule, 12-09, Valuation Allowances and Reserves, Amount, Ending Balance",
        "documentation": "Amount of valuation and qualifying accounts and reserves."
       }
      }
     },
     "auth_ref": [
      "r262",
      "r263"
     ]
    },
    "us-gaap_LongTermDebtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtFairValue",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Long-term debt",
        "label": "us-gaap_LongTermDebtFairValue",
        "documentation": "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "auth_ref": [
      "r419",
      "r420",
      "r421",
      "r422",
      "r485",
      "r675",
      "r732",
      "r766",
      "r767",
      "r825",
      "r827",
      "r829",
      "r830",
      "r846",
      "r866",
      "r867",
      "r876",
      "r892",
      "r899",
      "r908",
      "r1017",
      "r1068",
      "r1069",
      "r1070",
      "r1071",
      "r1072",
      "r1073"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
        "terseLabel": "Share-Based Payment Arrangement, Expense, Tax Benefit",
        "documentation": "Amount of tax benefit for recognition of expense of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r517"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total in-scope non-interest income",
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise."
       }
      }
     },
     "auth_ref": [
      "r307",
      "r308",
      "r311",
      "r314",
      "r315",
      "r319",
      "r320",
      "r321",
      "r475",
      "r476",
      "r676"
     ]
    },
    "us-gaap_DepositsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepositsFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Deposits",
        "label": "us-gaap_DepositsFairValueDisclosure",
        "documentation": "Fair value portion of deposit liabilities held by the entity, including, but not limited to, foreign and domestic, interest and noninterest bearing, demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensation",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensation",
        "terseLabel": "Stock-based compensation",
        "documentation": "Amount of noncash expense for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "srt_WeightedAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "WeightedAverageMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]"
       }
      }
     },
     "auth_ref": [
      "r866",
      "r867",
      "r1068",
      "r1070",
      "r1073"
     ]
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Available for sale, amortized cost",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r337",
      "r399",
      "r709"
     ]
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]"
       }
      }
     },
     "auth_ref": [
      "r259",
      "r260",
      "r438",
      "r464",
      "r635",
      "r870",
      "r871"
     ]
    },
    "us-gaap_LettersOfCreditOutstandingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LettersOfCreditOutstandingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LettersOfCreditOutstandingAmount",
        "terseLabel": "Letters of Credit Outstanding, Amount",
        "documentation": "The total amount of the contingent obligation under letters of credit outstanding as of the reporting date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeInstrumentRiskAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument [Axis]",
        "documentation": "Information by type of derivative contract."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r85",
      "r87",
      "r88",
      "r764",
      "r767",
      "r782",
      "r783",
      "r784",
      "r786",
      "r787",
      "r788",
      "r789",
      "r791",
      "r792",
      "r793",
      "r794",
      "r807",
      "r808",
      "r809",
      "r810",
      "r813",
      "r814",
      "r815",
      "r816",
      "r833",
      "r834",
      "r839",
      "r842",
      "r871",
      "r909",
      "r911"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsAndStockAppreciationRightsAwardActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfShareBasedCompensationStockOptionsAndStockAppreciationRightsAwardActivityTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Option and Stock Appreciation Rights, Activity [Table Text Block]",
        "documentation": "Tabular disclosure of the number and weighted-average exercise prices (or conversion ratios) for stock options and stock appreciation rights that were outstanding at the beginning and end of the year, exercisable at the end of the year, and the number of stock options and stock appreciation rights that were granted, exercised or converted, forfeited, and expired during the year."
       }
      }
     },
     "auth_ref": [
      "r71"
     ]
    },
    "us-gaap_ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfNonvestedRestrictedStockUnitsActivityTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Nonvested Restricted Stock Units Activity [Table Text Block]",
        "documentation": "Tabular disclosure of the changes in outstanding nonvested restricted stock units."
       }
      }
     },
     "auth_ref": [
      "r72"
     ]
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansReceivableHeldForSaleNetNotPartOfDisposalGroup",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage loans held for sale",
        "documentation": "Amount, after valuation allowance, of financing receivable held for sale and not part of disposal group. Excludes loan covered under loss sharing agreement and loan classified as investment in debt security."
       }
      }
     },
     "auth_ref": [
      "r322",
      "r854"
     ]
    },
    "dei_DocumentInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentInformationLineItems",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document 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_LoansAndLeasesReceivableCommitmentsVariableRates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableCommitmentsVariableRates",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial commitments, contractual amount, variable rate",
        "documentation": "Reflects the amount of cash required to fully fund agreements to provide advances to borrowers and lessees at interest rates that increase or decrease depending on certain facts or circumstances."
       }
      }
     },
     "auth_ref": [
      "r111",
      "r112"
     ]
    },
    "us-gaap_LoansAndLeasesReceivableCommitmentsFixedRates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableCommitmentsFixedRates",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial commitments, contractual amount, fixed rate",
        "documentation": "Reflects the amount of cash required to fully fund agreements to provide advances to borrowers and lessees at stated interest rates."
       }
      }
     },
     "auth_ref": [
      "r111",
      "r112"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentType",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "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": []
    },
    "us-gaap_ProceedsFromSaleOfForeclosedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfForeclosedAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from sales of OREO",
        "documentation": "The cash inflow from the sale assets received in full or partial satisfaction of a receivable including real and personal property; equity interests in corporations, partnerships, and joint ventures; and beneficial interests in trusts. Foreclosed assets also include loans that are treated as if the underlying collateral had been foreclosed because the institution has taken possession of the collateral, even though legal foreclosure or repossession proceedings have not taken place."
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UnamortizedDebtIssuanceExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unamortized debt issuance costs",
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableImpairedCommitmentToLend",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend",
        "terseLabel": "Financing Receivable, Modified, Commitment to Lend",
        "documentation": "Amount of commitment to lend additional funds to debtor experiencing financial difficulty for which creditor has modified terms of financing receivable."
       }
      }
     },
     "auth_ref": [
      "r196",
      "r324"
     ]
    },
    "dei_DocumentQuarterlyReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentQuarterlyReport",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Quarterly Report",
        "documentation": "Boolean flag that is true only for a form used as an quarterly report."
       }
      }
     },
     "auth_ref": [
      "r924"
     ]
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockRepurchasedDuringPeriodValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_StockRepurchasedDuringPeriodValue",
        "negatedLabel": "Repurchase of common stock",
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r115",
      "r116",
      "r141",
      "r754",
      "r819",
      "r852",
      "r918"
     ]
    },
    "us-gaap_TimeDepositMaturitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities [Table Text Block]",
        "documentation": "Tabular disclosure of time deposit liability maturities."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_DebtInstrumentTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentTerm",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtInstrumentTerm",
        "terseLabel": "Debt Instrument, Term (Year)",
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r925"
     ]
    },
    "us-gaap_ProceedsFromSaleOfLoansHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfLoansHeldForSale",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from loans sold",
        "documentation": "The cash inflow resulting from the sale of loans classified as held-for-sale, including proceeds from loans sold through mortgage securitization."
       }
      }
     },
     "auth_ref": [
      "r960",
      "r961"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed",
        "terseLabel": "Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed",
        "documentation": "Percentage of principal amount of debt redeemed."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PledgedStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PledgedStatusAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledged Status [Axis]",
        "documentation": "Information by pledged or not pledged status of asset owned by entity."
       }
      }
     },
     "auth_ref": [
      "r550",
      "r769",
      "r901"
     ]
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "documentation": "The entire disclosure for goodwill and intangible assets."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
        "negatedLabel": "Forfeited/cancelled (in shares)",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r507"
     ]
    },
    "us-gaap_PledgedStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PledgedStatusDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledged Status [Domain]",
        "documentation": "Pledged or not pledged status of asset owned by entity."
       }
      }
     },
     "auth_ref": [
      "r550",
      "r769",
      "r901"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period (in shares)",
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan)."
       }
      }
     },
     "auth_ref": [
      "r505"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Granted, weighted-average grant date fair value (in dollars per share)",
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan)."
       }
      }
     },
     "auth_ref": [
      "r505"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number (in shares)",
        "periodStartLabel": "Outstanding at beginning of year (in shares)",
        "periodEndLabel": "Outstanding at end of period (in shares)",
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r502",
      "r503"
     ]
    },
    "us-gaap_LoansAndLeasesReceivableRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableRelatedParties",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LoansAndLeasesReceivableRelatedParties",
        "terseLabel": "Loans and Leases Receivable, Related Parties",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "documentation": "For an unclassified balance sheet, reflects the carrying amount of unpaid loan amounts due from related parties at the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r99",
      "r106"
     ]
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage-Backed Securities, Issued by US Government Sponsored Enterprises [Member]",
        "documentation": "Debt securities collateralized by real estate mortgage loans (mortgages), issued by US Government Sponsored Enterprises, such as Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac)."
       }
      }
     },
     "auth_ref": [
      "r983",
      "r989",
      "r990",
      "r1020"
     ]
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files)."
       }
      }
     },
     "auth_ref": [
      "r928"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
        "periodStartLabel": "Outstanding at beginning of year, weighted-average grant date fair value (in dollars per share)",
        "periodEndLabel": "Outstanding at end of period, weighted-average grant date fair value (in dollars per share)",
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options."
       }
      }
     },
     "auth_ref": [
      "r502",
      "r503"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
        "terseLabel": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r520"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
        "negatedTerseLabel": "Vested (in shares)",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r506"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock [Member]",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r909",
      "r910",
      "r911",
      "r913",
      "r914",
      "r915",
      "r916",
      "r969",
      "r970",
      "r1056",
      "r1085",
      "r1089"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vested, weighted-average grant date fair value (in dollars per share)",
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement."
       }
      }
     },
     "auth_ref": [
      "r506"
     ]
    },
    "srt_TitleOfIndividualAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "TitleOfIndividualAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Axis]"
       }
      }
     },
     "auth_ref": [
      "r976",
      "r1064"
     ]
    },
    "us-gaap_CommercialAndIndustrialSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommercialAndIndustrialSectorMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial and Industrial Sector [Member]",
        "documentation": "Sector of the economy consisting of companies engaged in commercial and industrial business activities."
       }
      }
     },
     "auth_ref": [
      "r880",
      "r1091",
      "r1092",
      "r1093",
      "r1094"
     ]
    },
    "us-gaap_Capital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Capital",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Risk-Based Capital Ratio, Amount",
        "documentation": "Amount of total capital as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Premises and equipment, net",
        "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": [
      "r9",
      "r698",
      "r718",
      "r905"
     ]
    },
    "us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal",
        "terseLabel": "Off-Balance-Sheet, Credit Loss, Liability, Credit Loss Expense (Reversal)",
        "documentation": "Amount of expense (reversal of expense) for expected credit loss for off-balance sheet credit exposure. Excludes off-balance sheet credit exposure accounted for as insurance and instrument accounted for under derivatives and hedging."
       }
      }
     },
     "auth_ref": [
      "r387"
     ]
    },
    "us-gaap_PledgingPurposeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PledgingPurposeAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledging Purpose [Axis]",
        "documentation": "Information by pledging purpose of pledged asset owned."
       }
      }
     },
     "auth_ref": [
      "r655",
      "r901",
      "r906",
      "r936"
     ]
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromStockOptionsExercised",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exercise of stock options",
        "terseLabel": "Proceeds from Stock Options Exercised",
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r17"
     ]
    },
    "us-gaap_PledgingPurposeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PledgingPurposeDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledging Purpose [Domain]",
        "documentation": "Pledging purpose of pledged asset owned."
       }
      }
     },
     "auth_ref": [
      "r655",
      "r901",
      "r906",
      "r936"
     ]
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
        "terseLabel": "Effective Income Tax Rate Reconciliation, Percent",
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r530"
     ]
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockRepurchasedDuringPeriodShares",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_StockRepurchasedDuringPeriodShares",
        "negatedLabel": "Repurchase of common stock (in shares)",
        "documentation": "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r115",
      "r116",
      "r141",
      "r746",
      "r819",
      "r852"
     ]
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
        "totalLabel": "Used in dilutive EPS, income",
        "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": [
      "r247",
      "r284",
      "r289",
      "r290",
      "r291",
      "r292",
      "r294",
      "r299"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant (in shares)",
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable."
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value",
        "documentation": "Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares."
       }
      }
     },
     "auth_ref": [
      "r509"
     ]
    },
    "us-gaap_LiabilitiesAssumed1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAssumed1",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities assumed",
        "documentation": "The fair value of liabilities assumed in noncash investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r43",
      "r44"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
        "negatedLabel": "Forfeited/cancelled, Shares (in shares)",
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan."
       }
      }
     },
     "auth_ref": [
      "r500"
     ]
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basic (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": [
      "r246",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r282",
      "r285",
      "r295",
      "r298",
      "r299",
      "r303",
      "r578",
      "r579",
      "r687",
      "r724",
      "r873"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Grant date fair value (in dollars per share)",
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology."
       }
      }
     },
     "auth_ref": [
      "r508"
     ]
    },
    "us-gaap_CapitalRequiredForCapitalAdequacy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalRequiredForCapitalAdequacy",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Risk-Based Capital Ratio, Minimum Required for Capital Adequacy Purposes Amount",
        "documentation": "Amount of minimum total risk-based capital required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r706"
     ]
    },
    "srt_ConsolidatedEntitiesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ConsolidatedEntitiesDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "auth_ref": [
      "r261",
      "r550",
      "r551",
      "r554",
      "r555",
      "r637",
      "r865",
      "r1012",
      "r1015",
      "r1016"
     ]
    },
    "rbb_TierOneRiskBasedCapitalRequiredPlusCapitalConversationBufferFullyPhasedInToRiskWeightedAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TierOneRiskBasedCapitalRequiredPlusCapitalConversationBufferFullyPhasedInToRiskWeightedAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Risk-Based Capital Ratio, Minimum Required Plus Capital Conversation Buffer Fully Phased-In, Ratio",
        "documentation": "Represents tier one risk based capital required plus capital conversation buffer fully phased in to risk weighted assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested Options Forfeited, Number of Shares (in shares)",
        "documentation": "Number of non-vested options forfeited."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NotesReceivableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NotesReceivableNet",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NotesReceivableNet",
        "totalLabel": "Net loans",
        "documentation": "Amortized cost, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r322",
      "r396",
      "r785"
     ]
    },
    "rbb_TimeDepositMaturities250000OrLessOverThreeYears": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TimeDepositMaturities250000OrLessOverThreeYears",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": "rbb_TimeDeposits250000OrLess",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Over three years, 250,000 and under",
        "documentation": "Amount of time deposit, $250,000 or Less, maturing after third fiscal year following current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basic (in shares)",
        "totalLabel": "Used in basic EPS, shares (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": [
      "r282",
      "r299"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested, Number of Shares (in shares)",
        "documentation": "Number of non-vested options outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "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": []
    },
    "rbb_TierOneRiskBasedCapitalRequiredPlusCapitalConversationBufferFullyPhasedInAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TierOneRiskBasedCapitalRequiredPlusCapitalConversationBufferFullyPhasedInAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tier 1 Risk-Based Capital Ratio, Minimum Required Plus Capital Conversation Buffer Fully Phased-In, Amount",
        "documentation": "Represents tier one risk based capital required plus capital conversation buffer fully phased in amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialInstrumentAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instrument [Axis]",
        "documentation": "Information by type of financial instrument."
       }
      }
     },
     "auth_ref": [
      "r336",
      "r337",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r384",
      "r385",
      "r391",
      "r392",
      "r395",
      "r402",
      "r406",
      "r407",
      "r459",
      "r465",
      "r568",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r656",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r722",
      "r885",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r946",
      "r947",
      "r991",
      "r992",
      "r993",
      "r994"
     ]
    },
    "rbb_The2017OmnibusStockIncentivePlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "The2017OmnibusStockIncentivePlanMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "The 2017 Omnibus Stock Incentive Plan [Member]",
        "documentation": "Represents the 2017 Omnibus Stock Incentive Plan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesRestrictedStock": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfSharesRestrictedStock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Stock Unit, shares (in shares)",
        "documentation": "Number of shares of restricted stock determined by relating the portion of time within a reporting period that restricted shares have been outstanding to the total time in that period. Restricted shares are subject to sales, contractual, regulatory or other restrictions that prevent or inhibit the holder from freely disposing of them before the restriction ends."
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested, Number of Shares (in shares)",
        "documentation": "Number of options vested."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing assets",
        "terseLabel": "Servicing Asset",
        "documentation": "Aggregate amount of servicing assets that are subsequently measured at fair value and servicing assets that are subsequently measured using the amortization method."
       }
      }
     },
     "auth_ref": [
      "r659"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive gain/(loss), net of taxes",
        "totalLabel": "Total other comprehensive loss",
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss)."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r20",
      "r236",
      "r239",
      "r244",
      "r600",
      "r601",
      "r606",
      "r685",
      "r721",
      "r954",
      "r955"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Option, Nonvested, Weighted Average Exercise Price (in dollars per share)",
        "documentation": "Weighted average grant-date fair value of non-vested options outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact."
       }
      }
     },
     "auth_ref": []
    },
    "srt_ProductOrServiceAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ProductOrServiceAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "auth_ref": [
      "r319",
      "r676",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r868",
      "r893",
      "r907",
      "r939",
      "r1009",
      "r1010",
      "r1019",
      "r1081"
     ]
    },
    "us-gaap_LossContingencyNatureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LossContingencyNatureDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details"
     ],
     "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": [
      "r418",
      "r419",
      "r420",
      "r424",
      "r1007",
      "r1008"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested Options Forfeited, Weighted Average Grant Date Fair Value (in dollars per share)",
        "documentation": "Weighted average grant-date fair value of non-vested options forfeited."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock, shares issued (in shares)",
        "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": [
      "r116"
     ]
    },
    "rbb_TfcStatutoryTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TfcStatutoryTrustMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TFC Statutory Trust [Member]",
        "documentation": "Represents information related to TFC statutory trust."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
        "totalLabel": "Net cash provided by (used in) financing activities",
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit."
       }
      }
     },
     "auth_ref": [
      "r252"
     ]
    },
    "rbb_ScheduleOfInterestAndAmortizationsExpenseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ScheduleOfInterestAndAmortizationsExpenseTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Interest and Amortizations Expense [Table Text Block]",
        "documentation": "Tabular disclosure of interest and amortization expense."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherAssetsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Assets [Member]",
        "documentation": "Primary financial statement caption encompassing other assets."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r89"
     ]
    },
    "us-gaap_TaxableMunicipalBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TaxableMunicipalBondsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Taxable Municipal Bonds [Member]",
        "documentation": "Long-term debt securities issued by state, city or local governments or the agencies operated by state, city or local governments that are taxable."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing activities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Fiscal year before current",
        "label": "us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear",
        "documentation": "Amortized cost of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements, Recurring and Nonrecurring [Table Text Block]",
        "documentation": "Tabular disclosure of financial instruments measured at fair value, including those classified in shareholders' equity measured on a recurring or nonrecurring basis. Disclosures include, but are not limited to, fair value measurements recorded and the reasons for the measurements, level within the fair value hierarchy in which the fair value measurements are categorized and transfers between levels 1 and 2. Nonrecurring fair value measurements are those that are required or permitted in the statement of financial position in particular circumstances."
       }
      }
     },
     "auth_ref": [
      "r18",
      "r90",
      "r91",
      "r147"
     ]
    },
    "rbb_ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturityTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Available for Sale Securities, and Held to Maturity [Table Text Block]",
        "documentation": "Tabular disclosure of available-for-sale securities and held-to-maturity securities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
        "totalLabel": "Net cash provided by (used in) investing activities",
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets."
       }
      }
     },
     "auth_ref": [
      "r252"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Two fiscal year before current",
        "label": "us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear",
        "documentation": "Amortized cost of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investing activities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Three fiscal year before current",
        "label": "us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
        "documentation": "Amortized cost of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
        "totalLabel": "Net cash provided by operating activities",
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r129",
      "r130"
     ]
    },
    "rbb_SecuredOvernightFinancingRateSofrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SecuredOvernightFinancingRateSofrMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Secured Overnight Financing Rate (SOFR) [Member]",
        "documentation": "Interest rate based on U.S. Treasury repurchases between banks."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquisition:"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ProductsAndServicesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ProductsAndServicesDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]"
       }
      }
     },
     "auth_ref": [
      "r319",
      "r676",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r868",
      "r893",
      "r907",
      "r939",
      "r1009",
      "r1010",
      "r1019",
      "r1081"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock - 100,000,000 shares authorized, no par value; 18,995,303 shares issued and outstanding at September 30, 2023 and 18,965,776 shares issues and outstanding at December 31, 2022",
        "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": [
      "r116",
      "r713",
      "r905"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Four fiscal year before current",
        "label": "us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear",
        "documentation": "Amortized cost of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "rbb_ServiceChargesFeesAndOtherIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ServiceChargesFeesAndOtherIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Service charges, fees and other",
        "documentation": "The amount of service charges, fees, and income classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating activities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Five fiscal year before current",
        "label": "us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear",
        "documentation": "Amortized cost of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r883"
     ]
    },
    "rbb_ShareBasedCompensationArrangementByShareBasedPaymentAwardCommonStockReservedAsPercentageOfIssuedAndOutstanding": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardCommonStockReservedAsPercentageOfIssuedAndOutstanding",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_ShareBasedCompensationArrangementByShareBasedPaymentAwardCommonStockReservedAsPercentageOfIssuedAndOutstanding",
        "terseLabel": "Share Based Compensation, Arrangement By Share Based Payment Award, Common Stock Reserved As Percentage Of Issued And Outstanding",
        "documentation": "Represents percentage of issued and outstanding for share based compensation by share based payment."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantedAtClosingPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantedAtClosingPrice",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantedAtClosingPrice",
        "terseLabel": "Share Based Compensation Arrangement by Share Based Payment Award, Equity Instruments Other Than Options, Granted at Closing Price (in dollars per share)",
        "documentation": "The closing price of equity instruments other than options granted during the period under share based payment arrangement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested in Period, Fair Value",
        "documentation": "Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock."
       }
      }
     },
     "auth_ref": [
      "r509"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock, shares authorized (in shares)",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r116",
      "r777"
     ]
    },
    "rbb_SingleFamilyResidentialMortgagesLoansHeldForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SingleFamilyResidentialMortgagesLoansHeldForSaleMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Single Family Residential Mortgages Loans, Held for Sale [Member]",
        "documentation": "Represents single family residential mortgage loans classified as held for sale."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock, shares outstanding (in shares)",
        "periodStartLabel": "Balance (in shares)",
        "periodEndLabel": "Balance (in shares)",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r116",
      "r777",
      "r796",
      "r1089",
      "r1090"
     ]
    },
    "us-gaap_PreferredStockNoParValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockNoParValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred stock, no par value (in dollars per share)",
        "documentation": "Face amount per share of no-par value preferred stock nonredeemable or redeemable solely at the option of the issuer."
       }
      }
     },
     "auth_ref": [
      "r115",
      "r1018"
     ]
    },
    "rbb_SingleFamilyResidentialMortgagesLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SingleFamilyResidentialMortgagesLoansMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Single Family Residential Mortgages Loans [Member]",
        "documentation": "Represents information related to single family residential mortgages loans."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_SinglefamilyResidencesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SinglefamilyResidencesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Single-Family Residences [Member]",
        "documentation": "Represents information related to single-family residences."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Equity securities",
        "label": "us-gaap_EquityFairValueDisclosure",
        "documentation": "Fair value of the entity's equity."
       }
      }
     },
     "auth_ref": [
      "r582"
     ]
    },
    "us-gaap_ProfitLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProfitLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 7.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net income",
        "label": "Net income",
        "totalLabel": "Net income",
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r235",
      "r238",
      "r251",
      "r257",
      "r268",
      "r278",
      "r279",
      "r306",
      "r312",
      "r316",
      "r318",
      "r370",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r549",
      "r552",
      "r553",
      "r579",
      "r595",
      "r689",
      "r720",
      "r753",
      "r798",
      "r817",
      "r818",
      "r875",
      "r902",
      "r903",
      "r918",
      "r956",
      "r1013"
     ]
    },
    "rbb_SmallBusinessAdministrationAgencySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SmallBusinessAdministrationAgencySecuritiesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Small Business Administration Agency Securities [Member]",
        "documentation": "Securities issued by the Small Business Association agency."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Text Block]",
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r281",
      "r300",
      "r301",
      "r302"
     ]
    },
    "us-gaap_SubordinatedBorrowingsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubordinatedBorrowingsDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subordinated Borrowings Disclosure [Text Block]",
        "documentation": "The entire disclosure for borrowings under subordinated debt agreements that qualify as available in computing net capital under SEC's uniform net capital rule, including restrictive covenants, collateral, interest rates and due dates, amounts due by date and amount owed in total."
       }
      }
     },
     "auth_ref": [
      "r175"
     ]
    },
    "rbb_SixPointOneEightPercentFixedToFloatingRateSubordinatedDebenturesDueDecemberFirstTwoThousandsTwentyEightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SixPointOneEightPercentFixedToFloatingRateSubordinatedDebenturesDueDecemberFirstTwoThousandsTwentyEightMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Six Point One Eight Percent Fixed To Floating Rate Subordinated Debentures Due December First Two Thousands Twenty Eight [Member]",
        "documentation": "Represents 6.18% fixed to floating rate subordinated due December first two thousands twenty eight."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockHeldInTrust": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockHeldInTrust",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CommonStockHeldInTrust",
        "terseLabel": "Common Stock Held in Trust",
        "documentation": "Value of common stock held in trust."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_SmallBusinessAdministrationLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SmallBusinessAdministrationLoansMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Small Business Administration Loans [Member]",
        "documentation": "Represents information related to small business administration loan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestBearingDepositsInBanks",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest-earning deposits in other financial institutions",
        "label": "us-gaap_InterestBearingDepositsInBanks",
        "documentation": "For banks and other depository institutions (including Federal Reserve Banks, if applicable): Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r105"
     ]
    },
    "rbb_StateOfCaliforniaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "StateOfCaliforniaMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "State of California [Member]",
        "documentation": "Represents State of California."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal",
        "terseLabel": "Debt Instrument, Face Amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r96",
      "r98",
      "r435",
      "r612",
      "r888",
      "r889"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "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": [
      "r922"
     ]
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BalanceSheetLocationDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Location [Domain]",
        "documentation": "Location in the balance sheet (statement of financial position)."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r86"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Options exercisable, Aggregate Intrinsic Value",
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable."
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Aging [Axis]",
        "documentation": "Information by period in which financial asset is past due or not past due."
       }
      }
     },
     "auth_ref": [
      "r202",
      "r391",
      "r884"
     ]
    },
    "rbb_StockOptionPlan2010Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "StockOptionPlan2010Member",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Option Plan 2010 [Member]",
        "documentation": "Represents information related to 2010 stock option plan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Aging [Domain]",
        "documentation": "Period in which financial asset is past due or not past due. For past due, element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less than [high end numeric value] [date measure] Past Due [Member] formats."
       }
      }
     },
     "auth_ref": [
      "r202",
      "r391",
      "r884"
     ]
    },
    "us-gaap_InterestExpenseTimeDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseTimeDeposits",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest on time deposits",
        "documentation": "The aggregate interest expense incurred on time deposits, including certificates of deposits, in domestic offices."
       }
      }
     },
     "auth_ref": [
      "r169",
      "r207",
      "r208"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestExpense",
        "totalLabel": "Total interest expense",
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r171",
      "r243",
      "r309",
      "r610",
      "r804",
      "r917",
      "r1087"
     ]
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredIncomeTaxAssetsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net deferred tax assets",
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting."
       }
      }
     },
     "auth_ref": [
      "r527",
      "r528"
     ]
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_StockOptionsOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "StockOptionsOneMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Options One [Member]",
        "documentation": "Represents the first tranche of stock options."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest expense:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesIssuedBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfSharesIssuedBasic",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shares outstanding, shares (in shares)",
        "documentation": "This element represents the weighted average total number of shares issued throughout the period including the first (beginning balance outstanding) and last (ending balance outstanding) day of the period before considering any reductions (for instance, shares held in treasury) to arrive at the weighted average number of shares outstanding. Weighted average relates to the portion of time within a reporting period that common shares have been issued and outstanding to the total time in that period. Such concept is used in determining the weighted average number of shares outstanding for purposes of calculating earnings per share (basic)."
       }
      }
     },
     "auth_ref": [
      "r47",
      "r48"
     ]
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and contingencies - Note 13",
        "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": [
      "r28",
      "r104",
      "r711",
      "r776"
     ]
    },
    "rbb_StockOptionsThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "StockOptionsThreeMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Options Three [Member]",
        "documentation": "Represents the third tranche of stock options."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted-average common shares outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Domain]"
       }
      }
     },
     "auth_ref": [
      "r221",
      "r267",
      "r274",
      "r280",
      "r375",
      "r381",
      "r522",
      "r523",
      "r524",
      "r536",
      "r537",
      "r560",
      "r562",
      "r563",
      "r565",
      "r566",
      "r567",
      "r572",
      "r575",
      "r577",
      "r578",
      "r627"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Axis]"
       }
      }
     },
     "auth_ref": [
      "r221",
      "r267",
      "r274",
      "r280",
      "r375",
      "r381",
      "r522",
      "r523",
      "r524",
      "r536",
      "r537",
      "r560",
      "r562",
      "r563",
      "r565",
      "r566",
      "r567",
      "r572",
      "r575",
      "r577",
      "r578",
      "r627"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLossesRecovery",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries",
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery",
        "terseLabel": "Recoveries",
        "documentation": "Amount of increase in allowance for credit loss on financing receivable from recovery."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r389",
      "r883"
     ]
    },
    "us-gaap_InterestExpenseDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseDebt",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest",
        "terseLabel": "Interest Expense, Debt",
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r454",
      "r463",
      "r890",
      "r891"
     ]
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "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": [
      "r922"
     ]
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update [Axis]",
        "documentation": "Information by amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r268",
      "r269",
      "r270",
      "r271",
      "r280",
      "r331",
      "r332",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r417",
      "r522",
      "r523",
      "r524",
      "r534",
      "r535",
      "r536",
      "r537",
      "r546",
      "r547",
      "r548",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r591",
      "r592",
      "r596",
      "r597",
      "r598",
      "r599",
      "r608",
      "r609",
      "r613",
      "r614",
      "r615",
      "r616",
      "r625",
      "r626",
      "r627",
      "r628",
      "r629",
      "r678",
      "r679",
      "r680",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption, Adjustment [Member]"
       }
      }
     },
     "auth_ref": [
      "r221",
      "r267",
      "r274",
      "r280",
      "r375",
      "r381",
      "r522",
      "r523",
      "r524",
      "r536",
      "r537",
      "r560",
      "r562",
      "r563",
      "r565",
      "r566",
      "r567",
      "r572",
      "r575",
      "r577",
      "r578",
      "r627"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption, Adjusted Balance [Member]"
       }
      }
     },
     "auth_ref": [
      "r937",
      "r952",
      "r972",
      "r996",
      "r997",
      "r1047",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1055",
      "r1056",
      "r1057",
      "r1063"
     ]
    },
    "rbb_StockOptionsTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "StockOptionsTwoMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Options Two [Member]",
        "documentation": "Reprents the second tranche of stock options."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Axis]",
        "documentation": "Information by type of related party transaction."
       }
      }
     },
     "auth_ref": [
      "r633",
      "r634",
      "r1065"
     ]
    },
    "rbb_SubordinatedDebentures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "SubordinatedDebentures",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subordinated debentures",
        "documentation": "A debt instrument that embodies an unconditional obligation requiring the issuer to redeem the securities by transferring the assets at a specified or determinable date (or dates) or upon an event that is certain to occur."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity File Number",
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Domain]",
        "documentation": "Transaction between related party."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": []
    },
    "rbb_TenorSpreadAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "TenorSpreadAdjustmentMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tenor Spread Adjustment [Member]",
        "documentation": "Represents the tenor spread adjustment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]",
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due."
       }
      }
     },
     "auth_ref": [
      "r884"
     ]
    },
    "us-gaap_OtherRealEstateDisposals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherRealEstateDisposals",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OtherRealEstateDisposals",
        "terseLabel": "Other Real Estate, Disposals",
        "documentation": "Disposals of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This excludes real estate assets taken in settlement of troubled loans through surrender or foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TableTextBlock": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-tables",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TableTextBlock",
        "terseLabel": "Notes Tables"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisclosureTextBlockAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisclosureTextBlockAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DisclosureTextBlockAbstract",
        "terseLabel": "Notes to Financial Statements"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
        "negatedLabel": "Less than Twelve Months Unrealized Losses, available for sale",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r188",
      "r405"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Investment securities - AFS",
        "label": "Available for sale",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r338",
      "r399",
      "r683",
      "r980"
     ]
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsForProceedsFromLoansAndLeases",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PaymentsForProceedsFromLoansAndLeases",
        "negatedLabel": "Net decrease (increase) in loans",
        "documentation": "The net cash outflow or inflow for the increase (decrease) in the beginning and end of period of loan and lease balances which are not originated or purchased specifically for resale. Includes cash payments and proceeds associated with (a) loans held-for-investment, (b) leases held-for-investment, and (c) both."
       }
      }
     },
     "auth_ref": [
      "r688"
     ]
    },
    "us-gaap_FinancingReceivableNonaccrualNoAllowance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableNonaccrualNoAllowance",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonaccrual with no allowance for credit loss",
        "documentation": "Amortized cost of financing receivable on nonaccrual status with no allowance for credit loss. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r394"
     ]
    },
    "us-gaap_PolicyTextBlockAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PolicyTextBlockAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PolicyTextBlockAbstract",
        "terseLabel": "Accounting Policies"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
        "negatedLabel": "Twelve Months or More Unrealized Losses",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r188",
      "r405"
     ]
    },
    "rbb_FinancingReceivableOriginatedInFiveFiscalYearsBeforeCurrentFiscalYearNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableOriginatedInFiveFiscalYearsBeforeCurrentFiscalYearNet",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net, Five fiscal year before current",
        "label": "rbb_FinancingReceivableOriginatedInFiveFiscalYearsBeforeCurrentFiscalYearNet",
        "documentation": "The net recoveries (write-off) of financing receivable originated in five fiscal years before current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]",
        "documentation": "Financial asset equal to or greater than 90 days past due."
       }
      }
     },
     "auth_ref": [
      "r884"
     ]
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DividendPayableDateToBePaidDayMonthAndYear",
        "terseLabel": "Dividends Payable, Date to be Paid",
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, 60 to 89 Days Past Due [Member]",
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due."
       }
      }
     },
     "auth_ref": [
      "r884"
     ]
    },
    "us-gaap_DepositsMoneyMarketDepositsAndNegotiableOrderOfWithdrawalNOW": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepositsMoneyMarketDepositsAndNegotiableOrderOfWithdrawalNOW",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Savings, NOW and money market accounts",
        "documentation": "Amount of deposits in accounts that offer many of the same services as checking accounts although transactions may be somewhat more limited, share some of the characteristics of a money market fund and are insured by the Federal government, also known as money market accounts. Also includes amount of deposits in interest-bearing transaction accounts at banks or savings and loans, that are restricted in regard to ownership and can usually only be held by individuals, nonprofit entities and governments. Negotiable order of withdrawal accounts differ from money market demand accounts as they typically have higher reserve requirements and no limit on the number of checks that can be written."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt",
        "negatedLabel": "Purchases",
        "documentation": "Amount of cash outflow to acquire investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r37",
      "r248",
      "r334"
     ]
    },
    "srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Branch [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1079"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleRealizedGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss",
        "terseLabel": "Debt Securities, Available-for-Sale, Realized Gain (Loss)",
        "documentation": "Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r991"
     ]
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
        "terseLabel": "Proceeds from Sale of Debt Securities, Available-for-Sale",
        "documentation": "Amount of cash inflow from sale of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r248",
      "r334",
      "r367"
     ]
    },
    "us-gaap_InterestReceivableAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestReceivableAndOtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued interest and other assets",
        "documentation": "Amount of interest receivable and assets classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
        "terseLabel": "Allowance for Loan and Lease Losses, Period Increase (Decrease)",
        "documentation": "Amount of increase (decrease) of allowance reserve for credit loss."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_AcquisitionOfTheHonoluluHawaiiBranchOfficeOfTheBankOfTheOrientMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "AcquisitionOfTheHonoluluHawaiiBranchOfficeOfTheBankOfTheOrientMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquisition of the Honolulu, Hawaii Branch Office of the Bank of the Orient [Member]",
        "documentation": "Represents information pertaining to the acquisition of the Honolulu, Hawaii branch office of the Bank of the Orient."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_AdditionsToServicingAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "AdditionsToServicingAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additions to servicing assets",
        "documentation": "Additions to the servicing asset during the period."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loans, gross",
        "label": "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoansReceivable",
        "documentation": "Amount of loans receivable acquired at the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Investment securities - HTM",
        "label": "Securities held to maturity, fair value",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r178",
      "r359",
      "r683",
      "r709"
     ]
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Other liabilities",
        "label": "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Liabilities",
        "documentation": "Amount of liabilities, classified as other, recognized at the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Text Block]",
        "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": [
      "r638",
      "r640"
     ]
    },
    "us-gaap_IncreaseDecreaseInTimeDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInTimeDeposits",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net increase (decrease) in time deposits",
        "documentation": "Net cash inflow (outflow) of time deposits."
       }
      }
     },
     "auth_ref": [
      "r107"
     ]
    },
    "rbb_CapitalRequiredForCapitalConversationBufferFullyPhasedInAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CapitalRequiredForCapitalConversationBufferFullyPhasedInAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Risk-Based Capital Ratio, Minimum Required Plus Capital Conversation Buffer Fully Phased-In, Amount",
        "documentation": "Represents capital required for capital conversation buffer fully phased in amount."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CashPaidAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CashPaidAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash paid during the period:"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_CapitalRequiredForCapitalConversationBufferFullyPhasedInToRiskWeightedAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "CapitalRequiredForCapitalConversationBufferFullyPhasedInToRiskWeightedAssets",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-summary-of-company-and-bank-continue-to-exceed-regulatory-capital-minimum-requirements-and-bank-continues-to-exceed-well-capitalized-standards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Risk-Based Capital Ratio, Minimum Required Plus Capital Conversation Buffer Fully Phased-In, Ratio",
        "documentation": "Represents capital required for capital conversation buffer fully phased in to risk weighted assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_HeldToMaturitySecuritiesClassifiedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesClassifiedAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Securities held to maturity:"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSelectedPerformingLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSelectedPerformingLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSelectedPerformingLoans",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Selected Performing Loans",
        "documentation": "Amount of selected performing loans expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Other assets",
        "label": "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Assets",
        "documentation": "The amount of assets, classified as other, recognized as of the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedExcessOfAssetsAcquiredOverLiabilitiesAssumed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedExcessOfAssetsAcquiredOverLiabilitiesAssumed",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Excess of assets acquired over liabilities assumed",
        "label": "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedExcessOfAssetsAcquiredOverLiabilitiesAssumed",
        "documentation": "The difference between the total amount of assets acquired and liabilities assumed at the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCoreDepositPremium": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCoreDepositPremium",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Core deposit intangible",
        "documentation": "The amount of core deposit premium recognized as of the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationOfFinancingCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization",
        "documentation": "Amount of amortization expense attributable to debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r122",
      "r456",
      "r611",
      "r963"
     ]
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedEscrowPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedEscrowPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Escrow Payable",
        "label": "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedEscrowPayable",
        "documentation": "The amount of escrow payable recognized at the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_BrokeredTimeDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BrokeredTimeDeposits",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_BrokeredTimeDeposits",
        "terseLabel": "Brokered Time Deposits",
        "documentation": "Amount of brokered time deposits."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConstructionLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConstructionLoansMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Construction Loans [Member]",
        "documentation": "A borrowing arrangement which provides the entity constructing a facility (such as a building and a landfill) with funds to effect construction, generally on a draw down, or as needed, basis."
       }
      }
     },
     "auth_ref": [
      "r920"
     ]
    },
    "rbb_AmortizationOfInvestmentInAffordableHousingTaxCredits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "AmortizationOfInvestmentInAffordableHousingTaxCredits",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization of investment in affordable housing tax credits",
        "documentation": "The amount of amortization of investment in affordable housing tax credits."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressStateOrProvince": {
     "xbrltype": "stateOrProvinceItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressStateOrProvince",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, State or Province",
        "documentation": "Name of the state or province."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationOfIntangibleAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization of intangible assets",
        "terseLabel": "Amortization of Intangible Assets",
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r63",
      "r66"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Less than one year, Held to maturity, Estimated Fair Value",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r181",
      "r190",
      "r363",
      "r694"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1",
        "terseLabel": "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": []
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCertificateOfDepositPremium": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCertificateOfDepositPremium",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCertificateOfDepositPremium",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Certificate of Deposit Premium",
        "documentation": "The amount of certificate of deposit premium assumed (as defined) which have been recognized as of the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAllowanceForLoanLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAllowanceForLoanLosses",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Bank premises and equipment",
        "label": "rbb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAllowanceForLoanLosses",
        "documentation": "Amount of allowance for loan losses expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Deposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Deposits",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_Deposits",
        "terseLabel": "Deposits",
        "totalLabel": "Total deposits",
        "documentation": "The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others."
       }
      }
     },
     "auth_ref": [
      "r102"
     ]
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepositLiabilitiesDisclosuresTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposit Liabilities Disclosures [Text Block]",
        "documentation": "The entire disclosure for deposit liabilities including data and tables. It may include a description of the entity's deposit liabilities, the aggregate amount of time deposits (including certificates of deposit) in denominations of $100,000 or more at the balance sheet date; the aggregate amount of any demand deposits that have been reclassified as loan balances, such as overdrafts, at the balance sheet date; deposits that are received on terms other than those in the normal course of business, the amount of accrued interest on deposit liabilities; securities, mortgage loans or other financial instruments that serve as collateral for deposits; for time deposits having a remaining term of more than one year, the aggregate amount of maturities for each of the five years following the balance sheet date; and the weighted average interest rate for all deposit liabilities held by the entity."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r102",
      "r217",
      "r218"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forfeited/cancelled (in dollars per share)",
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event."
       }
      }
     },
     "auth_ref": [
      "r507"
     ]
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Subordinated debentures",
        "label": "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations",
        "terseLabel": "Subordinated Debt Obligations, Fair Value Disclosure",
        "documentation": "Fair value of subordinated debt obligations including, but not limited to, subordinated loan, subordinated bond, subordinated debenture or junior debt."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r147"
     ]
    },
    "us-gaap_PlanNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PlanNameAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan Name [Axis]",
        "documentation": "Information by plan name for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1021",
      "r1022",
      "r1023",
      "r1024",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1044",
      "r1045",
      "r1046"
     ]
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain on sale of OREO",
        "terseLabel": "Gains (Losses) on Sales of Other Real Estate",
        "negatedLabel": "Gain on sale of OREO",
        "documentation": "The net gain (loss) resulting from sales and other disposals of other real estate owned, increases (decreases) in the valuation allowance for foreclosed real estate, and write-downs of other real estate owned after acquisition or physical possession."
       }
      }
     },
     "auth_ref": [
      "r166"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Less than Twelve Months Estimated Fair Value, available for sale",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r188",
      "r405",
      "r885"
     ]
    },
    "us-gaap_DepositsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepositsAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twelve Months or More Estimated Fair Value, available for sale",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r188",
      "r405",
      "r885"
     ]
    },
    "rbb_FourPercentFixedToFloatingRateSubordinatedDebenturesDueAprilFirstTwoThousandThirtyOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FourPercentFixedToFloatingRateSubordinatedDebenturesDueAprilFirstTwoThousandThirtyOneMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-schedule-of-longterm-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Four Percent Fixed To Floating Rate Subordinated Debentures Due April First Two Thousand Thirty One [Member]",
        "documentation": "Represents 4.00% fixed to floating rate subordinate debentures due April 1, 2031."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialInstrumentsOwnedAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialInstrumentsOwnedAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FinancialInstrumentsOwnedAtFairValue",
        "terseLabel": "Financial Instruments, Owned, at Fair Value",
        "documentation": "The aggregate fair value as of the balance sheet date of financial instruments and other positions owned by the entity including: (1) mortgages, mortgage-backed and asset backed securities; (2) US government and agency obligations; (3) state and municipal government obligations; (4) other sovereign government debt; (5) corporate obligations; (6) corporate equities; (7) principal investments; (8) derivative contracts; and (9) physical commodities. Includes both pledged and unpledged holdings."
       }
      }
     },
     "auth_ref": [
      "r100"
     ]
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnSalesOfLoansNet",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 0.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain on sale of loans",
        "negatedLabel": "Gain on sale of loans",
        "documentation": "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r163"
     ]
    },
    "us-gaap_PlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PlanNameDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan Name [Domain]",
        "documentation": "Plan name for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1021",
      "r1022",
      "r1023",
      "r1024",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1044",
      "r1045",
      "r1046"
     ]
    },
    "us-gaap_NoninterestBearingDepositLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestBearingDepositLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest-bearing demand",
        "documentation": "The aggregate amount of all domestic and foreign noninterest-bearing deposits liabilities held by the entity."
       }
      }
     },
     "auth_ref": [
      "r102"
     ]
    },
    "rbb_IncreaseInShorttermAdvancesFromFederalHomeLoanBank": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "IncreaseInShorttermAdvancesFromFederalHomeLoanBank",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from FHLB advances",
        "documentation": "The amount of increase in short-term advances from Federal Home Loan Bank."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AwardTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AwardTypeAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Type [Axis]",
        "documentation": "Information by type of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive loss:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdditionalPaidInCapitalCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional paid-in capital",
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital."
       }
      }
     },
     "auth_ref": [
      "r117"
     ]
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongtermDebtTypeDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Type [Domain]",
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r67"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized loss on securities available for sale:",
        "documentation": "Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale."
       }
      }
     },
     "auth_ref": [
      "r232",
      "r234",
      "r368"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net change in unrealized holding gain on securities available for sale",
        "documentation": "Amount, after tax and before adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale."
       }
      }
     },
     "auth_ref": [
      "r232",
      "r234",
      "r368"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than one year to five years, Available for sale, Amortized Cost",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r985"
     ]
    },
    "rbb_FinancingReceivableOriginatedInFiscalYearBeforeCurrentFiscalYearNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableOriginatedInFiscalYearBeforeCurrentFiscalYearNet",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net, Fiscal year before current",
        "label": "rbb_FinancingReceivableOriginatedInFiscalYearBeforeCurrentFiscalYearNet",
        "documentation": "The net recoveries (write-off) of financing receivable originated in fiscal year before current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-cash investing and financing activities:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsOfDividends": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsOfDividends",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PaymentsOfDividends",
        "negatedLabel": "Cash dividends paid",
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests."
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Less than one year, Available for sale, Amortized Cost",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r984"
     ]
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Long-Term Debt Instruments [Table Text Block]",
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r68",
      "r69",
      "r95",
      "r96",
      "r98",
      "r110",
      "r139",
      "r140",
      "r888",
      "r890",
      "r968"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-comprehensive-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
        "negatedLabel": "Related income tax effect:",
        "documentation": "Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r233"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than ten years, Available for sale, Amortized Cost",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth 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": [
      "r987"
     ]
    },
    "rbb_IncreaseDecreaseInDemandDepositsAndSavingsAccounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "IncreaseDecreaseInDemandDepositsAndSavingsAccounts",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net decrease in demand deposits and savings accounts",
        "documentation": "The increase (decrease) during the period in demand deposits and savings accounts."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than five years to ten years, Available for sale, Amortized Cost",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth 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": [
      "r986"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-12-income-taxes-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income tax expense",
        "terseLabel": "Income Tax Expense (Benefit)",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r194",
      "r203",
      "r278",
      "r279",
      "r310",
      "r529",
      "r539",
      "r725"
     ]
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses."
       }
      }
     },
     "auth_ref": [
      "r975"
     ]
    },
    "rbb_FinancingReceivableOriginatedInFourFiscalYearsBeforeCurrentFiscalYearNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableOriginatedInFourFiscalYearsBeforeCurrentFiscalYearNet",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net, Four fiscal year before current",
        "label": "rbb_FinancingReceivableOriginatedInFourFiscalYearsBeforeCurrentFiscalYearNet",
        "documentation": "The net recoveries (write-off) of financing receivable originated in four fiscal years before current fiscal year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Less than one year, Available for sale, Estimated Fair Value",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r345",
      "r694"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Available for sale, Estimated Fair Value, More than one year to five years",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r346",
      "r695"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than five years to ten years, Available for sale, Estimated Fair Value",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth 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": [
      "r347",
      "r696"
     ]
    },
    "us-gaap_ScheduleOfServicingAssetsAtAmortizedValueTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfServicingAssetsAtAmortizedValueTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Amortized Cost [Table Text Block]",
        "documentation": "Tabular disclosure of activity in the balance of servicing assets subsequently measured at amortized cost. Includes, but is not limited to, beginning and ending balances, additions, disposals, and amortization."
       }
      }
     },
     "auth_ref": [
      "r1075"
     ]
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 2.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain on sale of fixed assets",
        "negatedLabel": "Gain on sale of fixed assets",
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than ten years, Available for sale, Estimated Fair Value",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth 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": [
      "r348",
      "r697"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenueFromContractWithCustomerTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": [
      "r206",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r477"
     ]
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual"
     ],
     "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": [
      "r607",
      "r639"
     ]
    },
    "rbb_FinancingReceivableRevolvingNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableRevolvingNet",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net, Revolving",
        "label": "rbb_FinancingReceivableRevolvingNet",
        "documentation": "The net recoveries (write-off) of financing receivable classified as revolving."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding at end of period, aggregate intrinsic value",
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding."
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted stock unit vested",
        "documentation": "Value of stock related to Restricted Stock Awards issued during the period, net of the stock value of such awards forfeited."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r141"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than ten years, Held to Maturity, Estimated Fair Value",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing after tenth 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": [
      "r184",
      "r193",
      "r366",
      "r697"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than one year to five years, Held to Maturity, Estimated Fair Value",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r182",
      "r191",
      "r364",
      "r695"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
        "periodStartLabel": "Outstanding at beginning of year (in dollars per share)",
        "periodEndLabel": "Outstanding, Weighted Average Exercise Price (in dollars per share)",
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan."
       }
      }
     },
     "auth_ref": [
      "r494",
      "r495"
     ]
    },
    "srt_MortgageLoansOnRealEstateNamePropertyTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MortgageLoansOnRealEstateNamePropertyTypeDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate [Domain]"
       }
      }
     },
     "auth_ref": [
      "r856",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "More than five years to ten years, Held to maturity Estimated Fair Value",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in sixth through tenth 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": [
      "r183",
      "r192",
      "r365",
      "r696"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Options exercisable, Shares (in shares)",
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan."
       }
      }
     },
     "auth_ref": [
      "r496"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
        "periodStartLabel": "Beginning Balance, Shares (in shares)",
        "periodEndLabel": "Balance, Shares (in shares)",
        "documentation": "Number of options outstanding, including both vested and non-vested options."
       }
      }
     },
     "auth_ref": [
      "r494",
      "r495"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted stock cancelled",
        "documentation": "Value of stock related to Restricted Stock Awards forfeited during the period."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r115",
      "r116",
      "r141"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock options exercised",
        "documentation": "Value of stock issued as a result of the exercise of stock options."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r30",
      "r141"
     ]
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": [
      "r149",
      "r173",
      "r176",
      "r209",
      "r333",
      "r335",
      "r589",
      "r590"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
        "periodEndLabel": "Options exercisable, Weighted Average Exercise Price (in dollars per share)",
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan."
       }
      }
     },
     "auth_ref": [
      "r496"
     ]
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details"
     ],
     "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": [
      "r418",
      "r419",
      "r420",
      "r424",
      "r1007",
      "r1008"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Less than Twelve Months Estimated Fair Value, held to maturity",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months."
       }
      }
     },
     "auth_ref": [
      "r188"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expected dividends",
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term."
       }
      }
     },
     "auth_ref": [
      "r514"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expected volatility",
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period."
       }
      }
     },
     "auth_ref": [
      "r513"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twelve Months or More Estimated Fair Value, held to maturity",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer."
       }
      }
     },
     "auth_ref": [
      "r188"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Estimated Fair Value, held to maturity",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position."
       }
      }
     },
     "auth_ref": [
      "r186"
     ]
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShortTermDebtTypeAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Type [Axis]",
        "documentation": "Information by type of short-term debt arrangement."
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "us-gaap_EmployeeStockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeStockOptionMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Option [Member]",
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfBusinessesAcquired": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NumberOfBusinessesAcquired",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NumberOfBusinessesAcquired",
        "terseLabel": "Number of Businesses Acquired",
        "documentation": "The number of businesses acquired by the entity during the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-schedule-of-weighted-average-assumption-for-fair-value-of-option-grant-estimated-using-blackscholes-option-pricing-model-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk free rate",
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares."
       }
      }
     },
     "auth_ref": [
      "r515"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets."
       }
      }
     },
     "auth_ref": [
      "r448",
      "r479",
      "r484",
      "r583",
      "r645",
      "r888",
      "r889",
      "r894",
      "r895",
      "r896"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date."
       }
      }
     },
     "auth_ref": [
      "r448",
      "r479",
      "r484",
      "r583",
      "r644",
      "r894",
      "r895",
      "r896"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-restricted-stock-activity-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Type [Domain]",
        "documentation": "Award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516"
     ]
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_Assets",
        "terseLabel": "Assets",
        "totalLabel": "Total assets",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events."
       }
      }
     },
     "auth_ref": [
      "r152",
      "r226",
      "r257",
      "r306",
      "r313",
      "r317",
      "r370",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r550",
      "r554",
      "r595",
      "r710",
      "r790",
      "r905",
      "r919",
      "r1013",
      "r1014",
      "r1066"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r448",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r484",
      "r583",
      "r646",
      "r888",
      "r889",
      "r894",
      "r895",
      "r896"
     ]
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BalanceSheetLocationAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Location [Axis]",
        "documentation": "Information by location on balance sheet (statement of financial position)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance",
        "terseLabel": "Common Stock, Capital Shares Reserved for Future Issuance (in shares)",
        "documentation": "Aggregate number of common shares reserved for future issuance."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": [
      "r974"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited",
        "negatedLabel": "Restricted stock cancelled (in shares)",
        "documentation": "Number of shares related to Restricted Stock Award forfeited during the period."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r115",
      "r116",
      "r141"
     ]
    },
    "us-gaap_CashSurrenderValueOfLifeInsurance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashSurrenderValueOfLifeInsurance",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash surrender value of bank owned life insurance (BOLI)",
        "documentation": "Carrying amount as of the balance sheet date of amounts which could be received based on the terms of the insurance contract upon surrendering life policies owned by the entity."
       }
      }
     },
     "auth_ref": [
      "r953"
     ]
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest paid",
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount."
       }
      }
     },
     "auth_ref": [
      "r250",
      "r253",
      "r254"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted stock unit vested (in shares)",
        "documentation": "Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r115",
      "r116",
      "r141"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock options exercised (in shares)",
        "terseLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period (in shares)",
        "negatedLabel": "Exercised, Shares (in shares)",
        "documentation": "Number of share options (or share units) exercised during the current period."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r115",
      "r116",
      "r141",
      "r499"
     ]
    },
    "us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unaccreted discount on acquired loans",
        "documentation": "Amount of unamortized loan commitment, origination, and other costs (fees) and purchase premium (discount) on financing receivable recognized as adjustment to yield. Excludes financing receivable covered under loss sharing agreement."
       }
      }
     },
     "auth_ref": [
      "r325",
      "r330",
      "r929"
     ]
    },
    "us-gaap_DerivativeAssetNotionalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssetNotionalAmount",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Derivative assets, notional amount",
        "label": "us-gaap_DerivativeAssetNotionalAmount",
        "documentation": "Nominal or face amount used to calculate payments on the derivative asset."
       }
      }
     },
     "auth_ref": [
      "r833",
      "r835",
      "r838",
      "r841",
      "r1052",
      "r1053",
      "r1054"
     ]
    },
    "us-gaap_NotesReceivableGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NotesReceivableGross",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_NotesReceivableNet",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details": {
       "parentTag": "us-gaap_NotesReceivableNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loans, gross",
        "label": "Loans, gross",
        "terseLabel": "Financing Receivable, before Allowance for Credit Loss",
        "totalLabel": "Total loans, net of deferred loan costs and unaccreted discounts on acquired loans",
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r202",
      "r212",
      "r213",
      "r227",
      "r391",
      "r396",
      "r883",
      "r884",
      "r948",
      "r999"
     ]
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net income to net cash from Operating activities:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and Significant Accounting Policies [Text Block]",
        "documentation": "The entire disclosure for the basis of presentation and significant accounting policies concepts. Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS). Accounting policies describe all significant accounting policies of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r131"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Domain]",
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r757",
      "r759",
      "r760",
      "r762",
      "r765",
      "r824",
      "r826",
      "r828",
      "r831",
      "r832",
      "r844",
      "r845",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851",
      "r911"
     ]
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShortTermDebtTypeDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Type [Domain]",
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing."
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock-based compensation",
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r74",
      "r488"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FiniteLivedIntangibleAssetsNet",
        "totalLabel": "Total",
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r677"
     ]
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Maturities, repayments and calls",
        "label": "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities",
        "documentation": "The cash inflow associated with the maturity, prepayments and calls (requests for early payments) of debt securities designated as held-to-maturity."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r981"
     ]
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "Rule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ecd_Rule10b51ArrTrmntdFlag",
        "terseLabel": "Rule 10b5-1 Arrangement Terminated [Flag]"
       }
      }
     },
     "auth_ref": [
      "r927"
     ]
    },
    "rbb_NumberOfLoansIdentifiedAsTroubledDebtRestructurings": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "NumberOfLoansIdentifiedAsTroubledDebtRestructurings",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_NumberOfLoansIdentifiedAsTroubledDebtRestructurings",
        "terseLabel": "Number Of Loans Identified As Troubled Debt Restructurings",
        "documentation": "Represents number of loans identified as troubled debt restructurings."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Goodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Goodwill",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill",
        "terseLabel": "Goodwill, Ending Balance",
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized."
       }
      }
     },
     "auth_ref": [
      "r225",
      "r408",
      "r682",
      "r886",
      "r905",
      "r1004",
      "r1005"
     ]
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonRule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ecd_NonRule10b51ArrAdoptedFlag",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted [Flag]"
       }
      }
     },
     "auth_ref": [
      "r927"
     ]
    },
    "us-gaap_OtherOperatingActivitiesCashFlowStatement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherOperatingActivitiesCashFlowStatement",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other items",
        "documentation": "Other cash or noncash adjustments to reconcile net income to cash provided by (used in) operating activities that are not separately disclosed in the statement of cash flows (for example, cash received or cash paid during the current period for miscellaneous operating activities, net change during the reporting period in other assets or other liabilities)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lender Name [Axis]",
        "documentation": "Information by name of lender, which may be a single entity (for example, but not limited to, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r965"
     ]
    },
    "rbb_NumberOfCommonSecurities": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "NumberOfCommonSecurities",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_NumberOfCommonSecurities",
        "terseLabel": "Number of Common Securities",
        "documentation": "Represents information related to number of common securities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": [
      "r522",
      "r523",
      "r524",
      "r754",
      "r969",
      "r970",
      "r971",
      "r1056",
      "r1089"
     ]
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InternalCreditAssessmentDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Internal Credit Assessment [Domain]",
        "documentation": "Entity defined credit risk rating."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturities, repayments and calls",
        "documentation": "Amount of cash inflow from maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r248",
      "r249",
      "r981"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-operating-lease-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted-average discount rate",
        "documentation": "Weighted average discount rate for operating lease calculated at point in time."
       }
      }
     },
     "auth_ref": [
      "r621",
      "r904"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Financing Receivable [Axis]",
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r62",
      "r210",
      "r211",
      "r215",
      "r216",
      "r323",
      "r326",
      "r327",
      "r328",
      "r329",
      "r391",
      "r392",
      "r395",
      "r876",
      "r878",
      "r879",
      "r883",
      "r884",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r946",
      "r947",
      "r949",
      "r950",
      "r951"
     ]
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonRule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ecd_NonRule10b51ArrTrmntdFlag",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated [Flag]"
       }
      }
     },
     "auth_ref": [
      "r927"
     ]
    },
    "rbb_NotesToFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "NotesToFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes To Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Financing Receivable [Domain]",
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk."
       }
      }
     },
     "auth_ref": [
      "r210",
      "r211",
      "r215",
      "r216",
      "r326",
      "r327",
      "r328",
      "r329",
      "r876",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r946",
      "r947",
      "r949",
      "r950",
      "r951"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffAfterRecovery": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLossWriteoffAfterRecovery",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net",
        "label": "us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffAfterRecovery",
        "documentation": "Amount, after recovery, of writeoff of financing receivable, charged against allowance for credit loss."
       }
      }
     },
     "auth_ref": [
      "r215",
      "r883",
      "r1000"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Estimated Fair Value, available for sale",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss."
       }
      }
     },
     "auth_ref": [
      "r186",
      "r403",
      "r885"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
        "negatedLabel": "Total Unrealized Losses, available for sale",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r404"
     ]
    },
    "us-gaap_LineOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit [Member]",
        "documentation": "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TimeDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDeposits",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TimeDeposits",
        "totalLabel": "Total",
        "documentation": "Amount of time deposit liabilities, including certificates of deposit."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r102"
     ]
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Terms of Trading Arrangement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r927"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient."
       }
      }
     },
     "auth_ref": [
      "r448",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r484",
      "r583",
      "r644",
      "r645",
      "r646",
      "r888",
      "r889",
      "r894",
      "r895",
      "r896"
     ]
    },
    "rbb_FeesAndServiceChargesOnDepositAccountsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FeesAndServiceChargesOnDepositAccountsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fees And Service Charges On Deposit Accounts [Member]",
        "documentation": "Represents information related to fees and service charges on deposit accounts."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableAllowanceForCreditLossRecoveriesCurrentFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries, Current fiscal year",
        "label": "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesCurrentFiscalYear",
        "documentation": "The recoveries in current fiscal year for allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-accrual Loans",
        "documentation": "Amortized cost of financing receivable on nonaccrual status. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r61",
      "r213",
      "r214",
      "r393"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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": [
      "r630",
      "r631",
      "r632",
      "r634",
      "r636",
      "r749",
      "r750",
      "r751",
      "r801",
      "r802",
      "r803",
      "r822",
      "r823"
     ]
    },
    "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesFiscalYearBeforeCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableAllowanceForCreditLossRecoveriesFiscalYearBeforeCurrentFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries, Fiscal year before current",
        "label": "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesFiscalYearBeforeCurrentFiscalYear",
        "documentation": "The recoveries in fiscal year before current fiscal year for allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesFiveFiscalYearsBeforeCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableAllowanceForCreditLossRecoveriesFiveFiscalYearsBeforeCurrentFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries, Five fiscal year before current",
        "label": "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesFiveFiscalYearsBeforeCurrentFiscalYear",
        "documentation": "The recoveries in five fiscal years before current fiscal year for allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "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": []
    },
    "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesFourFiscalYearsBeforeCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableAllowanceForCreditLossRecoveriesFourFiscalYearsBeforeCurrentFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries, Four fiscal year before current",
        "label": "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesFourFiscalYearsBeforeCurrentFiscalYear",
        "documentation": "The recoveries in four fiscal years before current fiscal year for allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesRevolving": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableAllowanceForCreditLossRecoveriesRevolving",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries, Revolving",
        "label": "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesRevolving",
        "documentation": "The recoveries in allowance for credit loss on revolving financing receivable."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesThreeFiscalYearsBeforeCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "FinancingReceivableAllowanceForCreditLossRecoveriesThreeFiscalYearsBeforeCurrentFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "YTD period recoveries, Three fiscal year before current",
        "label": "rbb_FinancingReceivableAllowanceForCreditLossRecoveriesThreeFiscalYearsBeforeCurrentFiscalYear",
        "documentation": "The recoveries in three fiscal years before current fiscal year for allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LiabilitiesFairValueDisclosure",
        "negatedLabel": "Liabilitiies measured at fair value",
        "documentation": "Fair value of financial and nonfinancial obligations."
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
        "totalLabel": "Total",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease."
       }
      }
     },
     "auth_ref": [
      "r622"
     ]
    },
    "us-gaap_StandbyLettersOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StandbyLettersOfCreditMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-13-commitments-schedule-of-financial-commitments-represents-credit-risk-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Standby Letters of Credit [Member]",
        "documentation": "An irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r1011",
      "r1083",
      "r1084"
     ]
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByMeasurementFrequencyAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Frequency [Axis]",
        "documentation": "Information by measurement frequency."
       }
      }
     },
     "auth_ref": [
      "r582",
      "r583",
      "r585",
      "r586",
      "r588"
     ]
    },
    "rbb_InterestRateLockContractsAndForwardMortgageLoanSaleContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "InterestRateLockContractsAndForwardMortgageLoanSaleContractsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Lock Contracts and Forward Mortgage Loan Sale Contracts [Member]",
        "documentation": "Represents Interest Rate Lock Contracts and Forward Mortgage Loan Sale Contracts."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_InterestPayableFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "InterestPayableFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Accrued Interest Payable",
        "label": "rbb_InterestPayableFairValueDisclosure",
        "documentation": "Fair value portion of interest payable on debt."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r30",
      "r221",
      "r240",
      "r241",
      "r242",
      "r264",
      "r265",
      "r266",
      "r269",
      "r277",
      "r279",
      "r305",
      "r375",
      "r381",
      "r466",
      "r522",
      "r523",
      "r524",
      "r536",
      "r537",
      "r560",
      "r562",
      "r563",
      "r564",
      "r565",
      "r567",
      "r577",
      "r600",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r629",
      "r735",
      "r736",
      "r737",
      "r754",
      "r819"
     ]
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets measured at fair value",
        "terseLabel": "Assets, Fair Value Disclosure",
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events."
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
        "terseLabel": "2024, future minimum lease payments",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r622"
     ]
    },
    "rbb_InterestRateLockContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "InterestRateLockContractsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Lock Contracts [Member]",
        "documentation": "Represents interest rate lock contracts."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained Earnings [Member]",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r221",
      "r264",
      "r265",
      "r266",
      "r269",
      "r277",
      "r279",
      "r375",
      "r381",
      "r522",
      "r523",
      "r524",
      "r536",
      "r537",
      "r560",
      "r563",
      "r564",
      "r567",
      "r577",
      "r735",
      "r737",
      "r754",
      "r1089"
     ]
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_InterestearningDepositsInOtherFinancialInstitutions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "InterestearningDepositsInOtherFinancialInstitutions",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest-earning deposits in other financial institutions",
        "documentation": "Represents interest-earning deposits in other financial institutions."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_InterestReceivableFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "InterestReceivableFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Accrued Interest Receivable",
        "label": "rbb_InterestReceivableFairValueDisclosure",
        "documentation": "Fair value portion of interest earned but not received."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_LegalAndProfessionalFeesAndFeesReversal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LegalAndProfessionalFeesAndFeesReversal",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal and professional",
        "documentation": "The amount of expense (reversal of expense) in the period for legal and professional fees incurred on or before the balance sheet date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
        "terseLabel": "2027, future minimum lease payments",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r622"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
        "terseLabel": "2026, future minimum lease payments",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r622"
     ]
    },
    "rbb_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LesseeOperatingLeaseLiabilityToBePaidAfterYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour",
        "terseLabel": "Thereafter",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
        "terseLabel": "2025, future minimum lease payments",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r622"
     ]
    },
    "rbb_LoanServicingFeesNetOfAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LoanServicingFeesNetOfAmortization",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan servicing fees, net of amortization",
        "terseLabel": "Loan Servicing Fees Net of Amortization",
        "documentation": "The amount of loan servicing fees net of amortization."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-future-minimum-rent-payments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
        "terseLabel": "2023 remaining, future minimum lease payments",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease having initial or remaining lease term in excess of one year to be paid in remainder of current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r1062"
     ]
    },
    "rbb_LoanServicingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LoanServicingTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing [Text Block]",
        "documentation": "The entire disclosure for loan servicing."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Maturity [Table Text Block]",
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position."
       }
      }
     },
     "auth_ref": [
      "r1062"
     ]
    },
    "us-gaap_OperatingLeaseExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OperatingLeaseExpense",
        "terseLabel": "Operating Lease, Expense",
        "documentation": "Amount of operating lease expense. Excludes sublease income."
       }
      }
     },
     "auth_ref": [
      "r1060"
     ]
    },
    "us-gaap_AffordableHousingProgramTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AffordableHousingProgramTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-21-qualified-affordable-housing-project-investments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Affordable Housing Program [Text Block]",
        "documentation": "The entire disclosure for Affordable Housing Program (AHP)."
       }
      }
     },
     "auth_ref": [
      "r150"
     ]
    },
    "rbb_LoansAndLeasesReceivableRelatedPartiesRecategorized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LoansAndLeasesReceivableRelatedPartiesRecategorized",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-15-related-party-transactions-loans-to-principal-officers-directors-and-their-affiliates-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_LoansAndLeasesReceivableRelatedPartiesRecategorized",
        "negatedLabel": "Balance re-categorized to non-related party",
        "documentation": "Recategorized amount from related parties which reduce the amount of loans and leases receivable due from related parties."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Component [Domain]",
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r221",
      "r240",
      "r241",
      "r242",
      "r264",
      "r265",
      "r266",
      "r269",
      "r277",
      "r279",
      "r305",
      "r375",
      "r381",
      "r466",
      "r522",
      "r523",
      "r524",
      "r536",
      "r537",
      "r560",
      "r562",
      "r563",
      "r564",
      "r565",
      "r567",
      "r577",
      "r600",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r629",
      "r735",
      "r736",
      "r737",
      "r754",
      "r819"
     ]
    },
    "rbb_LoansAndLeasesReceivableDeferredCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LoansAndLeasesReceivableDeferredCostsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred loan costs, net",
        "documentation": "The amount of deferred costs incurred to originate loans and leases."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Unrealized Loss on Investments [Table Text Block]",
        "documentation": "For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value)."
       }
      }
     },
     "auth_ref": [
      "r185"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-changes-in-shareholders-equity-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AOCI Attributable to Parent [Member]",
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r15",
      "r34",
      "r562",
      "r565",
      "r629",
      "r735",
      "r736",
      "r954",
      "r955",
      "r956",
      "r969",
      "r970",
      "r971"
     ]
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and fees on loans",
        "documentation": "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases."
       }
      }
     },
     "auth_ref": [
      "r159"
     ]
    },
    "rbb_LoansHeldForInvestmentAndHeldForSaleGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LoansHeldForInvestmentAndHeldForSaleGross",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-1-business-description-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_LoansHeldForInvestmentAndHeldForSaleGross",
        "terseLabel": "Loans Held for Investment and Held for Sale, Gross",
        "documentation": "The total carrying amount of loans held for investment, and loans held for sale before allowance of loan losses."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByMeasurementBasisAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Basis [Axis]",
        "documentation": "Information by measurement basis."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r90",
      "r448",
      "r888",
      "r889"
     ]
    },
    "rbb_LoansServicedForOthers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LoansServicedForOthers",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans serviced for others",
        "documentation": "Represent amount of loans serviced for others."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestBearingDomesticDepositCertificatesOfDeposits",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits",
        "terseLabel": "Interest-Bearing Domestic Deposit, Certificates of Deposits",
        "documentation": "Amount of interest-bearing domestic certificate of deposit liabilities."
       }
      }
     },
     "auth_ref": [
      "r102"
     ]
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount",
        "terseLabel": "Equity Securities without Readily Determinable Fair Value, Downward Price Adjustment, Annual Amount",
        "documentation": "Amount of loss from downward price adjustment on investment in equity security without readily determinable fair value."
       }
      }
     },
     "auth_ref": [
      "r369"
     ]
    },
    "rbb_MeasurementInputMarginCostRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "MeasurementInputMarginCostRateMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Margin Cost Rate [Member]",
        "documentation": "Measurement input using margin cost rate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]",
        "documentation": "Tabular disclosure of the amounts recognized as of the acquisition date for each major class of assets acquired and liabilities assumed. May include but not limited to the following: (a) acquired receivables; (b) contingencies recognized at the acquisition date; and (c) the fair value of noncontrolling interests in the acquiree."
       }
      }
     },
     "auth_ref": [
      "r145"
     ]
    },
    "us-gaap_OperatingLeaseLeaseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseLeaseIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-14-leases-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OperatingLeaseLeaseIncome",
        "terseLabel": "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": [
      "r304",
      "r623",
      "r624"
     ]
    },
    "rbb_LondonInterbankOfferedRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "LondonInterbankOfferedRateMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "London Interbank Offered Rate [Member]",
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtDisclosureTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Text Block]",
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants."
       }
      }
     },
     "auth_ref": [
      "r136",
      "r256",
      "r434",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r450",
      "r457",
      "r458",
      "r460"
     ]
    },
    "rbb_MeasurementInputMortgageRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "MeasurementInputMortgageRateMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Mortgage Rate [Member]",
        "documentation": "Measurement input using mortgage rate."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_MortgageAndSmallBusinessAdministrationLoansServicedForOthersTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "MortgageAndSmallBusinessAdministrationLoansServicedForOthersTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage And Small Business Administration Loans Serviced For Others [Table Text Block]",
        "documentation": "Tabular disclosure of mortgage and Small Business Administration loans serviced for others."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_MunicipalSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "MunicipalSecuritiesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-major-category-of-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Municipal Securities [Member]",
        "documentation": "Debt securities issued by state, city or local governments or the agencies operated by state, city or local governments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from sale of fixed assets",
        "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": [
      "r126"
     ]
    },
    "rbb_NoteToFinancialStatementDetailsTextual": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "NoteToFinancialStatementDetailsTextual",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note To Financial Statement Details Textual"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_NetAccretionOfSecuritiesLoansDepositsAndOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "NetAccretionOfSecuritiesLoansDepositsAndOther",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "rbb_NetAccretionOfSecuritiesLoansDepositsAndOther",
        "negatedLabel": "Net accretion of securities, loans, deposits, and other",
        "documentation": "The amount of net accretion of securities, loans, deposits, and other investments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FederalHomeLoanBankAdvancesLongTerm": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FederalHomeLoanBankAdvancesLongTerm",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_FederalHomeLoanBankAdvancesLongTerm",
        "terseLabel": "Long-Term Federal Home Loan Bank Advances",
        "documentation": "Including both current and noncurrent portions, Federal Home Loan Bank borrowings initially due beyond one year or beyond the normal operating cycle if longer."
       }
      }
     },
     "auth_ref": [
      "r103",
      "r109",
      "r175"
     ]
    },
    "us-gaap_InterestExpenseLongTermDebtAndCapitalSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseLongTermDebtAndCapitalSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest on subordinated debentures and long-term debt",
        "documentation": "Total interest expense on long-term debt and capital securities."
       }
      }
     },
     "auth_ref": [
      "r170"
     ]
    },
    "us-gaap_CommercialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommercialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-expected-maturities-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Mortgage-Backed Securities [Member]",
        "documentation": "Securities collateralized by commercial real estate mortgage loans."
       }
      }
     },
     "auth_ref": [
      "r983",
      "r989",
      "r990",
      "r1020"
     ]
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": [
      "r56",
      "r1000"
     ]
    },
    "us-gaap_MortgagesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MortgagesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgages [Member]",
        "documentation": "A loan to finance the purchase of real estate where the lender has a lien on the property as collateral for the loan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountingPoliciesAbstract",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtAmortizedValueAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetAtAmortizedValueAdditions",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additions",
        "documentation": "Amount of additions from purchases, assumption or transfer to contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r665"
     ]
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "documentation": "Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r1002"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]",
        "documentation": "Information by major type or class of finite-lived intangible assets."
       }
      }
     },
     "auth_ref": [
      "r413",
      "r414",
      "r415",
      "r416",
      "r677",
      "r681"
     ]
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SaleOfStockNameOfTransactionDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of Stock [Domain]",
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-5-loans-and-allowance-for-credit-losses-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "documentation": "Tabular disclosure of aging analysis for financing receivable."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r62",
      "r884",
      "r1001"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]",
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company."
       }
      }
     },
     "auth_ref": [
      "r64",
      "r65"
     ]
    },
    "us-gaap_ServicingAssetAtAmortizedValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetAtAmortizedValue",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ServicingAssetAtAmortizedValue",
        "periodStartLabel": "Beginning of period",
        "periodEndLabel": "End of period",
        "documentation": "Amortized amount of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r657",
      "r664",
      "r935"
     ]
    },
    "us-gaap_FederalHomeLoanBankAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FederalHomeLoanBankAdvancesMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Advances [Member]",
        "documentation": "Borrowings from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and also in times of liquidity shortages. The member institution executes a promissory note, which is generally collateralized by government securities to the Federal Reserve or loans."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets."
       }
      }
     },
     "auth_ref": [
      "r65"
     ]
    },
    "us-gaap_LongTermDebtPercentageBearingFixedInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtPercentageBearingFixedInterestRate",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-9-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LongTermDebtPercentageBearingFixedInterestRate",
        "terseLabel": "Long-term Debt, Percentage Bearing Fixed Interest, Percentage Rate",
        "documentation": "The interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate."
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "us-gaap_ServicingAssetAtAmortizedValueDisposals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetAtAmortizedValueDisposals",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ServicingAssetAtAmortizedValueDisposals",
        "negatedLabel": "Disposals",
        "documentation": "Amount conveyed to unrelated parties of contract to contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r666"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetAtFairValueAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Servicing assets",
        "label": "us-gaap_ServicingAssetAtFairValueAmount",
        "documentation": "Fair value of an asset representing net future revenue from contractually specified servicing fees, late charges, and other ancillary revenues, in excess of future costs related to servicing arrangements."
       }
      }
     },
     "auth_ref": [
      "r657",
      "r658",
      "r659",
      "r660"
     ]
    },
    "us-gaap_FederalHomeLoanBankStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FederalHomeLoanBankStock",
     "crdr": "debit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank (FHLB) stock",
        "documentation": "Federal Home Loan Bank (FHLB) stock represents an equity interest in a FHLB. It does not have a readily determinable fair value because its ownership is restricted and it lacks a market (liquidity)."
       }
      }
     },
     "auth_ref": [
      "r174"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-16-stockbased-compensation-summary-of-awards-pursuant-to-stock-option-plans-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Granted, Shares (in shares)",
        "documentation": "Gross number of share options (or share units) granted during the period."
       }
      }
     },
     "auth_ref": [
      "r498"
     ]
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquired",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cash received",
        "label": "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired",
        "terseLabel": "Payments to Acquire Businesses, Net of Cash Acquired, Total",
        "negatedLabel": "Net cash received in connection with a branch purchase",
        "documentation": "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase."
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Regulatory Capital Requirements under Banking Regulations [Text Block]",
        "documentation": "The entire disclosure for regulatory capital requirement for depository and lending institutions. Institutions include, but not are not limited to, finance company, insured depository institution, bank holding company, savings and loan association holding company, bank and savings institution not federally insured, mortgage company, foreign financial institution and credit union."
       }
      }
     },
     "auth_ref": [
      "r699",
      "r700",
      "r701",
      "r703",
      "r704",
      "r705",
      "r707",
      "r708"
     ]
    },
    "us-gaap_LongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-term debt (net of unamortized debt issuance costs of $981 and $1,415 at September 30, 2023 and December 31, 2022, respectively)",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r21",
      "r154",
      "r447",
      "r461",
      "r888",
      "r889",
      "r1080"
     ]
    },
    "us-gaap_DerivativeAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-18-fair-value-measurements-and-fair-value-of-financial-instruments-schedule-of-fair-value-hierarchy-level-and-estimated-fair-value-of-significant-financial-instruments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Derivative assets",
        "label": "us-gaap_DerivativeAssets",
        "terseLabel": "Derivative Asset",
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset."
       }
      }
     },
     "auth_ref": [
      "r230",
      "r231",
      "r594",
      "r756",
      "r757",
      "r758",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r766",
      "r767",
      "r783",
      "r784",
      "r833",
      "r836",
      "r839",
      "r840",
      "r842",
      "r843",
      "r871",
      "r911",
      "r1086"
     ]
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GoodwillImpairmentLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_GoodwillImpairmentLoss",
        "terseLabel": "Goodwill, Impairment Loss",
        "documentation": "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r409",
      "r411",
      "r412",
      "r886"
     ]
    },
    "us-gaap_RegulatoryAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RegulatoryAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-17-regulatory-matters-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_RegulatoryAssets",
        "terseLabel": "Regulatory Assets, Total",
        "documentation": "The amount for the individual regulatory asset as itemized in a table of regulatory assets as of the end of the period."
       }
      }
     },
     "auth_ref": [
      "r177"
     ]
    },
    "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPayableDateOfRecordDayMonthAndYear",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear",
        "terseLabel": "Dividends Payable, Date of Record",
        "documentation": "Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-19-earnings-per-share-reconciliation-of-net-income-and-shares-outstanding-to-income-and-number-of-shares-used-to-compute-eps-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Diluted (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": [
      "r246",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r285",
      "r295",
      "r298",
      "r299",
      "r303",
      "r578",
      "r579",
      "r687",
      "r724",
      "r873"
     ]
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PaymentsForRepurchaseOfCommonStock",
        "negatedLabel": "Common stock repurchased, net of repurchased costs",
        "documentation": "The cash outflow to reacquire common stock during the period."
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "rbb_statement-statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-schedule-of-new-accounting-pronouncements-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Basis of Presentation and Summary of Significant Accounting Policies - Schedule of New Accounting Pronouncements (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-2-basis-of-presentation-and-summary-of-significant-accounting-policies-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Basis of Presentation and Summary of Significant Accounting Policies"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-20-revenue-from-contracts-with-customers-summary-of-revenue-from-contracts-with-customers-inscope-and-not-inscope-under-topic-606-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 20 - Revenue From Contracts With Customers - Summary of Revenue From Contracts With Customers In-scope and Not In-scope under Topic 606 (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-20-revenue-from-contracts-with-customers-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-20-revenue-from-contracts-with-customers-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 20 - Revenue From Contracts With Customers"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-3-acquisitions-assets-acquired-and-liabilities-assumed-and-fair-value-adjustments-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Acquisitions - Assets Acquired and Liabilities Assumed, and Fair Value Adjustments (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-3-acquisitions-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-3-acquisitions-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Acquisitions"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-4-investment-securities-amortized-cost-and-fair-value-of-available-for-sale-securities-and-held-to-maturity-securities-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Investment Securities - Amortized Cost and Fair Value of Available for Sale Securities and Held to Maturity Securities (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-4-investment-securities-expected-maturities-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-4-investment-securities-expected-maturities-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Investment Securities - Expected Maturities (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-4-investment-securities-summary-of-investment-securities-with-unrealized-losses-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Investment Securities - Summary of Investment Securities with Unrealized Losses (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-4-investment-securities-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-4-investment-securities-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Investment Securities"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-5-loans-and-allowance-for-credit-losses-aging-of-recorded-investment-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Loans and Allowance for Credit Losses - Aging of Recorded Investment (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-5-loans-and-allowance-for-credit-losses-allowance-for-loan-losses-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Loans and Allowance for Credit Losses - Allowance for Loan Losses (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-5-loans-and-allowance-for-credit-losses-risk-category-of-loans-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Loans and Allowance for Credit Losses - Risk Category of Loans (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-financing-receivables-nonaccrual-status-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Loans and Allowance for Credit Losses - Schedule of Financing Receivables, Nonaccrual Status (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsPayableDateDeclaredDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPayableDateDeclaredDayMonthAndYear",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-22-subsequent-events-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DividendsPayableDateDeclaredDayMonthAndYear",
        "terseLabel": "Dividends Payable, Date Declared",
        "documentation": "Date the dividend to be paid was declared, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "rbb_statement-statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-5-loans-and-allowance-for-credit-losses-schedule-of-loans-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Loans and Allowance for Credit Losses - Schedule of Loans (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestAndDividendIncomeSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestAndDividendIncomeSecurities",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest on investment securities",
        "documentation": "Amount of operating dividend and interest income, including amortization and accretion of premiums and discounts, on securities."
       }
      }
     },
     "auth_ref": [
      "r1088",
      "r1095"
     ]
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockSharesAuthorized",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred stock, shares authorized (in shares)",
        "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": [
      "r115",
      "r777"
     ]
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionAxis",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition [Axis]",
        "documentation": "Information by business combination or series of individually immaterial business combinations."
       }
      }
     },
     "auth_ref": [
      "r75",
      "r76",
      "r544",
      "r897",
      "r898"
     ]
    },
    "rbb_statement-statement-note-5-loans-and-allowance-for-credit-losses-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-5-loans-and-allowance-for-credit-losses-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Loans and Allowance for Credit Losses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockSharesOutstanding",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred stock, 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": [
      "r115",
      "r777",
      "r796",
      "r1089",
      "r1090"
     ]
    },
    "rbb_statement-statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-6-loan-servicing-schedule-of-amortization-of-mortgage-servicing-rights-netted-against-loan-servicing-fee-income-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Loan Servicing - Schedule of Amortization of Mortgage Servicing Rights Netted Against Loan Servicing Fee Income (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-6-loan-servicing-schedule-of-principal-balances-of-mortgage-and-sba-loans-serviced-for-others-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Loan Servicing - Schedule of Principal Balances of Mortgage and SBA Loans Serviced for Others (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-6-loan-servicing-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-6-loan-servicing-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Loan Servicing"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionAcquireeDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-10-subordinated-debentures-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition, Acquiree [Domain]",
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree."
       }
      }
     },
     "auth_ref": [
      "r544",
      "r897",
      "r898"
     ]
    },
    "rbb_statement-statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Goodwill and Intangible Assets - Maturity Schedule for Amortization Expense (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-7-goodwill-and-intangibles-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-7-goodwill-and-intangibles-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Goodwill and Intangibles"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-8-deposits-schedule-of-maturities-of-time-deposits-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Deposits - Schedule of Maturities of Time Deposits (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r921"
     ]
    },
    "rbb_statement-statement-note-8-deposits-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-8-deposits-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Deposits"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-9-longterm-debt-schedule-of-interest-and-amortization-expense-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Long-term Debt - Schedule of Interest and Amortization Expense (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-9-longterm-debt-schedule-of-longterm-debt-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-9-longterm-debt-schedule-of-longterm-debt-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Long-term Debt - Schedule of Long-term Debt (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "rbb_statement-statement-note-9-longterm-debt-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-note-9-longterm-debt-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Long-term Debt"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityLenderDomain",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Lender [Domain]",
        "documentation": "Identification of the lender, which may be a single entity (for example, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit, including a letter of credit facility."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r965"
     ]
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "crdr": "credit",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-11-borrowing-arrangements-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity",
        "terseLabel": "Line of Credit Facility, Maximum Borrowing Capacity",
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility."
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "rbb_statement-statement-significant-accounting-policies-policies": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.royalbusinessbankusa.com/20230930",
     "localname": "statement-statement-significant-accounting-policies-policies",
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies"
       }
      }
     },
     "auth_ref": []
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsForOriginationAndPurchasesOfLoansHeldForSale",
     "crdr": "credit",
     "calculation": {
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale",
        "negatedLabel": "Loans originated and purchased for sale, net",
        "documentation": "The aggregate amount of cash outflow for loans purchased and created with the intention to resell them in the near future."
       }
      }
     },
     "auth_ref": [
      "r195"
     ]
    },
    "us-gaap_CoreDepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CoreDepositsMember",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-3-acquisitions-details-textual",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangible-assets-maturity-schedule-for-amortization-expense-details",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles",
      "http://www.royalbusinessbankusa.com/20230930/role/statement-note-7-goodwill-and-intangibles-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Core Deposits [Member]",
        "documentation": "Entity's long-term relationships with depositors, commonly known as core deposit intangibles, which are separate from the financial instruments themselves."
       }
      }
     },
     "auth_ref": [
      "r108"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.royalbusinessbankusa.com/20230930/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r923"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "15",
   "Paragraph": "12",
   "Subparagraph": "(f)(2)",
   "SubTopic": "10",
   "Topic": "810",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481410/810-10-15-12"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "SubTopic": "20",
   "Topic": "940",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481913/940-20-25-1"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "230",
   "Topic": "830",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481877/830-230-45-1"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-10A"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-12"
  },
  "r5": {
   "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"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "SubTopic": "405",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481071/942-405-45-2"
  },
  "r7": {
   "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"
  },
  "r8": {
   "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"
  },
  "r9": {
   "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"
  },
  "r10": {
   "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"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "405",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481047/942-405-50-1"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(1)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(3)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(4)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c),(3)",
   "SubTopic": "10",
   "Topic": "810",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "718",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2A"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2C",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2C"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482739/220-10-55-15"
  },
  "r21": {
   "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"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.25)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.29)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.31)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-14"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-14A"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-13"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-13"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r40": {
   "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"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2"
  },
  "r42": {
   "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"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-4"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-5"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-3"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-10"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-13"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "270",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482989/270-10-45-12"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "270",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482989/270-10-45-13"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-4"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-8"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-9"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//310-10/tableOfContent"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-15"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-29"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482686/350-30-45-2"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481544/470-10-50-5"
  },
  "r68": {
   "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"
  },
  "r69": {
   "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"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "20",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481089/718-20-55-12"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "20",
   "Section": "55",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481089/718-20-55-13"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479328/805-10-50-2"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479328/805-10-50-3"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "37",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479303/805-10-55-37"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-1"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-15"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-16"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4I"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4K"
  },
  "r83": {
   "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"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4A"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B"
  },
  "r86": {
   "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"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4C"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4D"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "182",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480401/815-10-55-182"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-11"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-12"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-30"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-1A"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-2"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482949/835-30-55-8"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "940",
   "SubTopic": "320",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481961/940-320-45-2"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481309/942-210-45-4"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.12)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r103": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.16)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r104": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.17)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r105": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r106": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.7(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r107": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "230",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481160/942-230-45-1"
  },
  "r108": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-1"
  },
  "r109": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-2"
  },
  "r110": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3"
  },
  "r111": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "825",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480981/942-825-50-1"
  },
  "r112": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "825",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480981/942-825-50-2"
  },
  "r113": {
   "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"
  },
  "r114": {
   "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"
  },
  "r115": {
   "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"
  },
  "r116": {
   "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"
  },
  "r117": {
   "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"
  },
  "r118": {
   "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"
  },
  "r119": {
   "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"
  },
  "r120": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-11"
  },
  "r121": {
   "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"
  },
  "r122": {
   "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"
  },
  "r123": {
   "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"
  },
  "r124": {
   "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.6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r125": {
   "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"
  },
  "r126": {
   "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"
  },
  "r127": {
   "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"
  },
  "r128": {
   "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"
  },
  "r129": {
   "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"
  },
  "r130": {
   "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"
  },
  "r131": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "235",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//235/tableOfContent"
  },
  "r132": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "350",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//350/tableOfContent"
  },
  "r133": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r134": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r135": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//440/tableOfContent"
  },
  "r136": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//470/tableOfContent"
  },
  "r137": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481573/470-10-45-12A"
  },
  "r138": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481573/470-10-45-19"
  },
  "r139": {
   "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"
  },
  "r140": {
   "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"
  },
  "r141": {
   "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"
  },
  "r142": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "718",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r143": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "718",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r144": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "805",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//805/tableOfContent"
  },
  "r145": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-1"
  },
  "r146": {
   "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"
  },
  "r147": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r148": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-10"
  },
  "r149": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "940",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//940-320/tableOfContent"
  },
  "r150": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//942/tableOfContent"
  },
  "r151": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r152": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r153": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r154": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r155": {
   "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(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r156": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r157": {
   "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(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r158": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r159": {
   "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.1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r160": {
   "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.1-5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r161": {
   "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.10)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r162": {
   "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.12)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r163": {
   "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.13(h))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r164": {
   "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.13)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r165": {
   "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.14(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r166": {
   "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.14(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r167": {
   "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.14)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r168": {
   "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.4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r169": {
   "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.6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r170": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.8)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r171": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.9)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r172": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "230",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481160/942-230-45-1"
  },
  "r173": {
   "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"
  },
  "r174": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481026/942-325-45-1"
  },
  "r175": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "470",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480876/942-470-45-1"
  },
  "r176": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//946-320/tableOfContent"
  },
  "r177": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "980",
   "SubTopic": "340",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481878/980-340-50-1"
  },
  "r178": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(aa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r179": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r180": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r181": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r182": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r183": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r184": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r185": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-6"
  },
  "r186": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-6"
  },
  "r187": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-6"
  },
  "r188": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-7"
  },
  "r189": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "840",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481161/840-30-50-1"
  },
  "r190": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3"
  },
  "r191": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3"
  },
  "r192": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3"
  },
  "r193": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3"
  },
  "r194": {
   "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"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "21",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-21"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "40",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481746/310-40-50-1"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-11"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-12"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h))",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(7)(e)(1)(i))",
   "SubTopic": "210",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//275/tableOfContent"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Topic": "606",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//606/tableOfContent"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1403",
   "Paragraph": "(b)",
   "Publisher": "SEC"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "(b)",
   "Publisher": "SEC"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(4)",
   "Publisher": "SEC"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(c)",
   "Publisher": "SEC"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1406",
   "Paragraph": "(e)",
   "Publisher": "SEC"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1406",
   "Publisher": "SEC"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6"
  },
  "r221": {
   "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"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6"
  },
  "r224": {
   "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"
  },
  "r225": {
   "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(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r226": {
   "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"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-10"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-10A"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-10A"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-11"
  },
  "r235": {
   "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"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A"
  },
  "r237": {
   "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"
  },
  "r238": {
   "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"
  },
  "r239": {
   "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"
  },
  "r240": {
   "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"
  },
  "r241": {
   "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"
  },
  "r242": {
   "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"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(210.5-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r244": {
   "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(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r245": {
   "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(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r246": {
   "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"
  },
  "r247": {
   "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"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-11"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-17"
  },
  "r251": {
   "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"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2"
  },
  "r255": {
   "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"
  },
  "r256": {
   "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(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r257": {
   "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"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r259": {
   "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"
  },
  "r260": {
   "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"
  },
  "r261": {
   "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"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "4",
   "Subparagraph": "(SX 210.12-09(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-4"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "4",
   "Subparagraph": "(SX 210.12-09(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-4"
  },
  "r264": {
   "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"
  },
  "r265": {
   "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"
  },
  "r266": {
   "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"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-6"
  },
  "r268": {
   "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"
  },
  "r269": {
   "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"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1"
  },
  "r272": {
   "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"
  },
  "r273": {
   "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"
  },
  "r274": {
   "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"
  },
  "r275": {
   "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"
  },
  "r276": {
   "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"
  },
  "r277": {
   "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"
  },
  "r278": {
   "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"
  },
  "r279": {
   "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"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480530/250-10-S99-5"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//260/tableOfContent"
  },
  "r282": {
   "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"
  },
  "r283": {
   "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"
  },
  "r284": {
   "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"
  },
  "r285": {
   "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"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-22"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-23"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-28A"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-40"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-40"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-40"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-40"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "65",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-65"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "66",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-66"
  },
  "r298": {
   "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"
  },
  "r299": {
   "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"
  },
  "r300": {
   "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"
  },
  "r301": {
   "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"
  },
  "r302": {
   "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"
  },
  "r303": {
   "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"
  },
  "r304": {
   "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"
  },
  "r305": {
   "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"
  },
  "r306": {
   "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"
  },
  "r307": {
   "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"
  },
  "r308": {
   "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"
  },
  "r309": {
   "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"
  },
  "r310": {
   "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"
  },
  "r311": {
   "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"
  },
  "r312": {
   "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"
  },
  "r313": {
   "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"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r318": {
   "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"
  },
  "r319": {
   "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"
  },
  "r320": {
   "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"
  },
  "r321": {
   "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"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481990/310-10-45-2"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-3"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "36",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-36"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-4"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "44",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-44"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481598/310-20-45-1"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481925/310-20-65-2"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481925/310-20-65-2"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//320/tableOfContent"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481830/320-10-45-11"
  },
  "r335": {
   "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"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2A"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3"
  },
  "r370": {
   "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"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-1"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r375": {
   "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"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5"
  },
  "r381": {
   "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"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479344/326-20-45-1"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479344/326-20-45-2"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-11"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-14"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-6"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-6A"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479130/326-30-45-1"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-3A"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-3B"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-5"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-7"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-9"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482598/350-20-45-1"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482598/350-20-45-2"
  },
  "r410": {
   "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"
  },
  "r411": {
   "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"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-2"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147477123/405-50-65-1"
  },
  "r418": {
   "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"
  },
  "r419": {
   "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"
  },
  "r420": {
   "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"
  },
  "r421": {
   "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"
  },
  "r422": {
   "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"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482454/460-10-45-1"
  },
  "r424": {
   "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"
  },
  "r425": {
   "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"
  },
  "r426": {
   "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"
  },
  "r427": {
   "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"
  },
  "r428": {
   "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"
  },
  "r429": {
   "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"
  },
  "r430": {
   "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"
  },
  "r431": {
   "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"
  },
  "r432": {
   "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"
  },
  "r433": {
   "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"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r435": {
   "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"
  },
  "r436": {
   "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"
  },
  "r437": {
   "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"
  },
  "r438": {
   "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"
  },
  "r439": {
   "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"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r441": {
   "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"
  },
  "r442": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C"
  },
  "r446": {
   "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"
  },
  "r447": {
   "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"
  },
  "r448": {
   "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"
  },
  "r449": {
   "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"
  },
  "r450": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E"
  },
  "r451": {
   "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"
  },
  "r452": {
   "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"
  },
  "r453": {
   "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"
  },
  "r454": {
   "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"
  },
  "r455": {
   "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"
  },
  "r456": {
   "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"
  },
  "r457": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I"
  },
  "r458": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I"
  },
  "r459": {
   "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"
  },
  "r460": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I"
  },
  "r461": {
   "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"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-6"
  },
  "r463": {
   "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"
  },
  "r464": {
   "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"
  },
  "r465": {
   "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"
  },
  "r466": {
   "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"
  },
  "r467": {
   "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"
  },
  "r468": {
   "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"
  },
  "r469": {
   "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"
  },
  "r470": {
   "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"
  },
  "r471": {
   "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"
  },
  "r472": {
   "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"
  },
  "r473": {
   "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"
  },
  "r474": {
   "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"
  },
  "r475": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-4"
  },
  "r476": {
   "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"
  },
  "r477": {
   "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"
  },
  "r478": {
   "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"
  },
  "r479": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r480": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r481": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r482": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r483": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r484": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r485": {
   "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"
  },
  "r486": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//718/tableOfContent"
  },
  "r488": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480483/718-10-35-2"
  },
  "r489": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480454/718-10-45-1"
  },
  "r490": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r491": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r492": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r493": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r494": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r495": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r496": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r498": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r499": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r500": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r502": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r503": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r504": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r505": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r506": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r507": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r508": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r509": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r510": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r511": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r512": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r513": {
   "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"
  },
  "r514": {
   "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"
  },
  "r515": {
   "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"
  },
  "r516": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r517": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r518": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r519": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r520": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r521": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r522": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r523": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r524": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r525": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.F)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479830/718-10-S99-1"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//740/tableOfContent"
  },
  "r527": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-4"
  },
  "r528": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-6"
  },
  "r529": {
   "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"
  },
  "r530": {
   "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"
  },
  "r531": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-14"
  },
  "r532": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-17"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-21"
  },
  "r534": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8"
  },
  "r535": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8"
  },
  "r536": {
   "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"
  },
  "r537": {
   "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"
  },
  "r538": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479360/740-10-S99-1"
  },
  "r539": {
   "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"
  },
  "r540": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479360/740-10-S99-2"
  },
  "r541": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "270",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482526/740-270-50-1"
  },
  "r542": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482603/740-30-50-2"
  },
  "r543": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-1"
  },
  "r544": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-5"
  },
  "r545": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-5"
  },
  "r546": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479845/805-20-65-3"
  },
  "r547": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479845/805-20-65-3"
  },
  "r548": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479845/805-20-65-3"
  },
  "r549": {
   "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"
  },
  "r550": {
   "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"
  },
  "r551": {
   "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"
  },
  "r552": {
   "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"
  },
  "r553": {
   "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"
  },
  "r554": {
   "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"
  },
  "r555": {
   "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"
  },
  "r556": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4K"
  },
  "r557": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r558": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r559": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r560": {
   "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"
  },
  "r561": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r562": {
   "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"
  },
  "r563": {
   "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"
  },
  "r564": {
   "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"
  },
  "r565": {
   "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"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r567": {
   "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"
  },
  "r568": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-5"
  },
  "r569": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r570": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r571": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r573": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r574": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r576": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r577": {
   "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"
  },
  "r578": {
   "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"
  },
  "r579": {
   "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"
  },
  "r580": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-2"
  },
  "r581": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r582": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r583": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r584": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r585": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r586": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r587": {
   "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"
  },
  "r588": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A"
  },
  "r589": {
   "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"
  },
  "r590": {
   "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"
  },
  "r591": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482477/820-10-65-13"
  },
  "r592": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482477/820-10-65-13"
  },
  "r593": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482736/825-10-45-2"
  },
  "r594": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-10"
  },
  "r595": {
   "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"
  },
  "r596": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r597": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r598": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r599": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r600": {
   "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"
  },
  "r601": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20"
  },
  "r602": {
   "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"
  },
  "r603": {
   "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"
  },
  "r604": {
   "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"
  },
  "r605": {
   "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"
  },
  "r606": {
   "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"
  },
  "r607": {
   "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"
  },
  "r608": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "832",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483482/832-10-65-1"
  },
  "r609": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "832",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483482/832-10-65-1"
  },
  "r610": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483013/835-20-50-1"
  },
  "r611": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3"
  },
  "r612": {
   "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"
  },
  "r613": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r614": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r615": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r616": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r617": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//842-20/tableOfContent"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479041/842-20-45-1"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479041/842-20-45-1"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-4"
  },
  "r621": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-4"
  },
  "r622": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-6"
  },
  "r623": {
   "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"
  },
  "r624": {
   "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"
  },
  "r625": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2"
  },
  "r626": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2"
  },
  "r627": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2"
  },
  "r628": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2"
  },
  "r629": {
   "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"
  },
  "r630": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//850/tableOfContent"
  },
  "r631": {
   "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"
  },
  "r632": {
   "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"
  },
  "r633": {
   "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"
  },
  "r634": {
   "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"
  },
  "r635": {
   "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"
  },
  "r636": {
   "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"
  },
  "r637": {
   "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"
  },
  "r638": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//855/tableOfContent"
  },
  "r639": {
   "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"
  },
  "r640": {
   "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"
  },
  "r641": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r642": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r643": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r644": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r645": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r646": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r647": {
   "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"
  },
  "r648": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r649": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r650": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r651": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r652": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r653": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r654": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481444/860-30-45-1"
  },
  "r655": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-1A"
  },
  "r656": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-7"
  },
  "r657": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481260/860-50-45-1"
  },
  "r658": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481260/860-50-45-2"
  },
  "r659": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481260/860-50-45-2"
  },
  "r660": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3"
  },
  "r661": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3"
  },
  "r662": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3"
  },
  "r663": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3"
  },
  "r664": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r665": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r666": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r667": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r668": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r669": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r670": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r671": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r672": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r673": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r674": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r675": {
   "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"
  },
  "r676": {
   "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"
  },
  "r677": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "926",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483154/926-20-50-5"
  },
  "r678": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "926",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2"
  },
  "r679": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "926",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2"
  },
  "r680": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "926",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2"
  },
  "r681": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "928",
   "SubTopic": "340",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483147/928-340-50-1"
  },
  "r682": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r683": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r684": {
   "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(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r685": {
   "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(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r686": {
   "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(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r687": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r688": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "230",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481160/942-230-45-1"
  },
  "r689": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479557/942-235-S99-1"
  },
  "r690": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3"
  },
  "r691": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3"
  },
  "r692": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3"
  },
  "r693": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3"
  },
  "r694": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3A"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3A"
  },
  "r696": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3A"
  },
  "r697": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-3A"
  },
  "r698": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480842/942-360-50-1"
  },
  "r699": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1"
  },
  "r700": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1"
  },
  "r701": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1"
  },
  "r703": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1"
  },
  "r704": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1"
  },
  "r705": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1A"
  },
  "r706": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1B"
  },
  "r707": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1D"
  },
  "r708": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480696/942-505-50-1F"
  },
  "r709": {
   "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))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r710": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r711": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r712": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r713": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r714": {
   "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)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r715": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r716": {
   "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)(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r717": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r718": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r719": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r720": {
   "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/2147483586/944-220-S99-1"
  },
  "r721": {
   "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/2147483586/944-220-S99-1"
  },
  "r722": {
   "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(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r723": {
   "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/2147483586/944-220-S99-1"
  },
  "r724": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r725": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r726": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r727": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r728": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r729": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r730": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r731": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r732": {
   "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"
  },
  "r733": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r734": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r735": {
   "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"
  },
  "r736": {
   "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"
  },
  "r737": {
   "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"
  },
  "r738": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r739": {
   "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"
  },
  "r740": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r741": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r742": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r743": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r744": {
   "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"
  },
  "r745": {
   "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"
  },
  "r746": {
   "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"
  },
  "r747": {
   "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"
  },
  "r748": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-13"
  },
  "r749": {
   "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"
  },
  "r750": {
   "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"
  },
  "r751": {
   "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"
  },
  "r752": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3"
  },
  "r753": {
   "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/2147480767/946-205-45-3"
  },
  "r754": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4"
  },
  "r755": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480555/946-210-45-4"
  },
  "r756": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r757": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r758": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r759": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r760": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r761": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-12"
  },
  "r762": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r763": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r764": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r765": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r766": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r767": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r768": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r769": {
   "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(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r770": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r771": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r772": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r773": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r774": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r775": {
   "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(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r776": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r777": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r778": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r779": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r780": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r781": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r782": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r783": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r784": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r785": {
   "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(5)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r786": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r787": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r788": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r789": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r790": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r791": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r792": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r793": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r794": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r795": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2"
  },
  "r796": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2"
  },
  "r797": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r798": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-7"
  },
  "r799": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r800": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r801": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r802": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r803": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r804": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r805": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r806": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r807": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r808": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r809": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r810": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r811": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r812": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r813": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r814": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r815": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r816": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r817": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r818": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r819": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r820": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r821": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r822": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r823": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r824": {
   "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 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r825": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r826": {
   "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 C)(Footnote 5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r827": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r828": {
   "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 C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r829": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r830": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r831": {
   "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 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r832": {
   "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 C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r833": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5"
  },
  "r834": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column G)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5"
  },
  "r835": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5A",
   "Subparagraph": "(SX 210.12-13A(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A"
  },
  "r836": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5A",
   "Subparagraph": "(SX 210.12-13A(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A"
  },
  "r837": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5A",
   "Subparagraph": "(SX 210.12-13A(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A"
  },
  "r838": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5B",
   "Subparagraph": "(SX 210.12-13B(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B"
  },
  "r839": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5B",
   "Subparagraph": "(SX 210.12-13B(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B"
  },
  "r840": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5B",
   "Subparagraph": "(SX 210.12-13B(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B"
  },
  "r841": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C"
  },
  "r842": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column H)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C"
  },
  "r843": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C"
  },
  "r844": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D"
  },
  "r845": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D"
  },
  "r846": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r847": {
   "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 F)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r848": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r849": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r850": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r851": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r852": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r853": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-3"
  },
  "r854": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481852/948-310-45-1"
  },
  "r855": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479851/948-310-S99-1"
  },
  "r856": {
   "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 B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r857": {
   "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 C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r858": {
   "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 D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r859": {
   "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))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r860": {
   "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 F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r861": {
   "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 G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r862": {
   "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 H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r863": {
   "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 I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r864": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r865": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r866": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "976",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482856/976-310-50-1"
  },
  "r867": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "978",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482707/978-310-50-1"
  },
  "r868": {
   "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"
  },
  "r869": {
   "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"
  },
  "r870": {
   "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"
  },
  "r871": {
   "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"
  },
  "r872": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r873": {
   "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"
  },
  "r874": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "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"
  },
  "r875": {
   "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"
  },
  "r876": {
   "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"
  },
  "r877": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-10"
  },
  "r878": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-11"
  },
  "r879": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12"
  },
  "r880": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12"
  },
  "r881": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12"
  },
  "r882": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-15"
  },
  "r883": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "79",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-79"
  },
  "r884": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "80",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-80"
  },
  "r885": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479081/326-30-55-8"
  },
  "r886": {
   "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"
  },
  "r887": {
   "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"
  },
  "r888": {
   "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"
  },
  "r889": {
   "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"
  },
  "r890": {
   "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"
  },
  "r891": {
   "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"
  },
  "r892": {
   "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"
  },
  "r893": {
   "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"
  },
  "r894": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r895": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r896": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480482/715-20-55-17"
  },
  "r897": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-11"
  },
  "r898": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-6"
  },
  "r899": {
   "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"
  },
  "r900": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r901": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "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"
  },
  "r902": {
   "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"
  },
  "r903": {
   "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"
  },
  "r904": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "53",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479589/842-20-55-53"
  },
  "r905": {
   "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"
  },
  "r906": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-1A"
  },
  "r907": {
   "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"
  },
  "r908": {
   "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"
  },
  "r909": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r910": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r911": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480493/946-210-55-1"
  },
  "r912": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1"
  },
  "r913": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r914": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r915": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r916": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r917": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-10"
  },
  "r918": {
   "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/2147480167/946-830-55-11"
  },
  "r919": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-12"
  },
  "r920": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479851/948-310-S99-1"
  },
  "r921": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r922": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r923": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r924": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-Q",
   "Number": "240",
   "Section": "308",
   "Subsection": "a"
  },
  "r925": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r926": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a"
  },
  "r927": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r928": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r929": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "SubTopic": "20",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481569/310-20-50-3"
  },
  "r930": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "323",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481543/323-740-50-2"
  },
  "r931": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "323",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481543/323-740-50-2"
  },
  "r932": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "323",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481543/323-740-50-2"
  },
  "r933": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-10"
  },
  "r934": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-3"
  },
  "r935": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481260/860-50-45-2"
  },
  "r936": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "810",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25"
  },
  "r937": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "SubTopic": "10",
   "Topic": "250",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-3"
  },
  "r938": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(1)",
   "SubTopic": "20",
   "Topic": "842",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-4"
  },
  "r939": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-4H"
  },
  "r940": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(1))",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r941": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r942": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r943": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r944": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r945": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(i)",
   "Publisher": "SEC"
  },
  "r946": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r947": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(iii)",
   "Publisher": "SEC"
  },
  "r948": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r949": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r950": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r951": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r952": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r953": {
   "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"
  },
  "r954": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r955": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r956": {
   "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"
  },
  "r957": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r958": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12"
  },
  "r959": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r960": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-16"
  },
  "r961": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-21"
  },
  "r962": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r963": {
   "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"
  },
  "r964": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2"
  },
  "r965": {
   "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"
  },
  "r966": {
   "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"
  },
  "r967": {
   "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"
  },
  "r968": {
   "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"
  },
  "r969": {
   "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"
  },
  "r970": {
   "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"
  },
  "r971": {
   "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"
  },
  "r972": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-6"
  },
  "r973": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4"
  },
  "r974": {
   "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"
  },
  "r975": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//310-10/tableOfContent"
  },
  "r976": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r977": {
   "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"
  },
  "r978": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A"
  },
  "r979": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//310-30/tableOfContent"
  },
  "r980": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481830/320-10-45-1"
  },
  "r981": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481830/320-10-45-11"
  },
  "r982": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r983": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r984": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r985": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r986": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r987": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r988": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r989": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r990": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r991": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9"
  },
  "r992": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3"
  },
  "r993": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3"
  },
  "r994": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3"
  },
  "r995": {
   "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"
  },
  "r996": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r997": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r998": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//326-20/tableOfContent"
  },
  "r999": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479344/326-20-45-1"
  },
  "r1000": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r1001": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-14"
  },
  "r1002": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5"
  },
  "r1003": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//326-30/tableOfContent"
  },
  "r1004": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1005": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1006": {
   "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"
  },
  "r1007": {
   "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"
  },
  "r1008": {
   "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"
  },
  "r1009": {
   "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"
  },
  "r1010": {
   "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"
  },
  "r1011": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1012": {
   "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"
  },
  "r1013": {
   "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"
  },
  "r1014": {
   "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"
  },
  "r1015": {
   "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"
  },
  "r1016": {
   "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"
  },
  "r1017": {
   "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"
  },
  "r1018": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1019": {
   "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"
  },
  "r1020": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r1021": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1022": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1023": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1024": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1025": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1026": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1027": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1028": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1029": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1030": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1031": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1032": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1033": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1034": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1035": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1036": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1037": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1038": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1039": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1040": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1041": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1042": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1043": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1044": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1045": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1046": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r1047": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r1048": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r1049": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r1050": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1051": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1052": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1A"
  },
  "r1053": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1A"
  },
  "r1054": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1B"
  },
  "r1055": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r1056": {
   "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"
  },
  "r1057": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1058": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r1059": {
   "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"
  },
  "r1060": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479041/842-20-45-4"
  },
  "r1061": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-4"
  },
  "r1062": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147478964/842-20-50-6"
  },
  "r1063": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2"
  },
  "r1064": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1065": {
   "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"
  },
  "r1066": {
   "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"
  },
  "r1067": {
   "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"
  },
  "r1068": {
   "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"
  },
  "r1069": {
   "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"
  },
  "r1070": {
   "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"
  },
  "r1071": {
   "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"
  },
  "r1072": {
   "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"
  },
  "r1073": {
   "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"
  },
  "r1074": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-1A"
  },
  "r1075": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r1076": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(7)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r1077": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r1078": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480832/942-320-50-2"
  },
  "r1079": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "470",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480876/942-470-45-1"
  },
  "r1080": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r1081": {
   "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"
  },
  "r1082": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480109/944-80-50-1"
  },
  "r1083": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-15"
  },
  "r1084": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-16"
  },
  "r1085": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4"
  },
  "r1086": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r1087": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r1088": {
   "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(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r1089": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r1090": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r1091": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r1092": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r1093": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r1094": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r1095": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r1096": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "39",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-39"
  }
 }
}
