{
 "instance": {
  "fs42022a1_brileyprinc.htm": {
   "axisCustom": 0,
   "axisStandard": 23,
   "contextCount": 212,
   "dts": {
    "calculationLink": {
     "local": [
      "brpm-20211231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "brpm-20211231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "fs42022a1_brileyprinc.htm"
     ]
    },
    "labelLink": {
     "local": [
      "brpm-20211231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "brpm-20211231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "brpm-20211231.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://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd",
      "https://xbrl.sec.gov/sic/2021/sic-2021.xsd"
     ]
    }
   },
   "elementCount": 796,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 126,
    "http://www.brpm.com/20211231": 31,
    "http://xbrl.sec.gov/dei/2021q4": 2,
    "total": 159
   },
   "keyCustom": 112,
   "keyStandard": 480,
   "memberCustom": 41,
   "memberStandard": 30,
   "nsprefix": "brpm",
   "nsuri": "http://www.brpm.com/20211231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "000 - Document - Document And Entity Information",
     "role": "http://www.brpm.com/role/DocumentAndEntityInformation",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "009 - Disclosure - Related Party Transactions",
     "role": "http://www.brpm.com/role/RelatedPartyTransactions",
     "shortName": "Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "010 - Disclosure - Recurring Fair Value Measurements",
     "role": "http://www.brpm.com/role/RecurringFairValueMeasurements",
     "shortName": "Recurring Fair Value Measurements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "011 - Disclosure - Commitments",
     "role": "http://www.brpm.com/role/Commitments",
     "shortName": "Commitments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:WarrantsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "012 - Disclosure - Warrants",
     "role": "http://www.brpm.com/role/Warrants",
     "shortName": "Warrants",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:WarrantsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "013 - Disclosure - Income Taxes",
     "role": "http://www.brpm.com/role/IncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "014 - Disclosure - Stockholders' Equity",
     "role": "http://www.brpm.com/role/StockholdersEquity",
     "shortName": "Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "015 - Disclosure - Proposed Business Combination",
     "role": "http://www.brpm.com/role/ProposedBusinessCombination",
     "shortName": "Proposed Business Combination",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "016 - Disclosure - Subsequent Events",
     "role": "http://www.brpm.com/role/SubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "017 - Disclosure - Description of the Business",
     "role": "http://www.brpm.com/role/DescriptionoftheBusiness",
     "shortName": "Description of the Business",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "018 - Disclosure - Property, Equipment and Leasehold Improvements",
     "role": "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovements",
     "shortName": "Property, Equipment and Leasehold Improvements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "001 - Statement - Balance Sheets",
     "role": "http://www.brpm.com/role/ConsolidatedBalanceSheet",
     "shortName": "Balance Sheets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "019 - Disclosure - Intangibles Assets",
     "role": "http://www.brpm.com/role/IntangiblesAssets",
     "shortName": "Intangibles Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "020 - Disclosure - Accounts Payable and Accrued Expenses",
     "role": "http://www.brpm.com/role/AccountsPayableandAccruedExpenses",
     "shortName": "Accounts Payable and Accrued Expenses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c51",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "021 - Disclosure - Debt",
     "role": "http://www.brpm.com/role/Debt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c51",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "022 - Disclosure - Stock Compensation Expense and Warrants",
     "role": "http://www.brpm.com/role/StockCompensationExpenseandWarrants",
     "shortName": "Stock Compensation Expense and Warrants",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDefinedBenefitPlansDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "023 - Disclosure - 401(K) Plan",
     "role": "http://www.brpm.com/role/401KPlan",
     "shortName": "401(K) Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDefinedBenefitPlansDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:LitigationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "024 - Disclosure - Litigation",
     "role": "http://www.brpm.com/role/Litigation",
     "shortName": "Litigation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:LitigationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubstantialDoubtAboutGoingConcernTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "025 - Disclosure - Going Concern",
     "role": "http://www.brpm.com/role/GoingConcern",
     "shortName": "Going Concern",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubstantialDoubtAboutGoingConcernTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "026 - Disclosure - Accounting Policies, by Policy (Policies)",
     "role": "http://www.brpm.com/role/AccountingPoliciesByPolicy",
     "shortName": "Accounting Policies, by Policy (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "027 - Disclosure - Summary of Significant Accounting Policies (Tables)",
     "role": "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables",
     "shortName": "Summary of Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "028 - Disclosure - Recurring Fair Value Measurements (Tables)",
     "role": "http://www.brpm.com/role/RecurringFairValueMeasurementsTables",
     "shortName": "Recurring Fair Value Measurements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "002 - Statement - Balance Sheets (Parentheticals)",
     "role": "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
     "shortName": "Balance Sheets (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "029 - Disclosure - Commitments and Contingencies (Tables)",
     "role": "http://www.brpm.com/role/CommitmentsandContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "030 - Disclosure - Income Taxes (Tables)",
     "role": "http://www.brpm.com/role/IncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "031 - Disclosure - Property, Equipment and Leasehold Improvements (Tables)",
     "role": "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsTables",
     "shortName": "Property, Equipment and Leasehold Improvements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "032 - Disclosure - Intangibles Assets (Tables)",
     "role": "http://www.brpm.com/role/IntangiblesAssetsTables",
     "shortName": "Intangibles Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "033 - Disclosure - Accounts Payable and Accrued Expenses (Tables)",
     "role": "http://www.brpm.com/role/AccountsPayableandAccruedExpensesTables",
     "shortName": "Accounts Payable and Accrued Expenses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c51",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "034 - Disclosure - Debt (Tables)",
     "role": "http://www.brpm.com/role/DebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c51",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:ScheduleOfEquityIncentivePlanTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "035 - Disclosure - Stock Compensation Expense and Warrants (Tables)",
     "role": "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables",
     "shortName": "Stock Compensation Expense and Warrants (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:ScheduleOfEquityIncentivePlanTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockPricePerShare",
      "reportCount": 1,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "036 - Disclosure - Organization and Nature of Business Operations (Details)",
     "role": "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
     "shortName": "Organization and Nature of Business Operations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:OtherShortTermBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsHeldInTrustNoncurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "037 - Disclosure - Summary of Significant Accounting Policies (Details)",
     "role": "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails",
     "shortName": "Summary of Significant Accounting Policies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodSharesOther",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceInitialPublicOffering",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "038 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of balance sheet are reconciled",
     "role": "http://www.brpm.com/role/ScheduleofbalancesheetarereconciledTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of balance sheet are reconciled",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ProceedsFromWarrantExercises",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c11",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingCostsAndExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "003 - Statement - Statements of Operations",
     "role": "http://www.brpm.com/role/ConsolidatedIncomeStatement",
     "shortName": "Statements of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c11",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingCostsAndExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "039 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of reconciliation of the numerator and denominator used to compute basic and diluted net loss per share",
     "role": "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of reconciliation of the numerator and denominator used to compute basic and diluted net loss per share",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c71",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040 - Disclosure - Related Party Transactions (Details)",
     "role": "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
     "shortName": "Related Party Transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c75",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DueToAffiliateCurrentAndNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsHeldInTrustCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "041 - Disclosure - Recurring Fair Value Measurements (Details) - Schedule of fair value, assets and liabilities measured on recurring basis",
     "role": "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable",
     "shortName": "Recurring Fair Value Measurements (Details) - Schedule of fair value, assets and liabilities measured on recurring basis",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsHeldInTrustCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c65",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "042 - Disclosure - Recurring Fair Value Measurements (Details) - Schedule of fair value of initial measurement",
     "role": "http://www.brpm.com/role/ScheduleoffairvalueofinitialmeasurementTable",
     "shortName": "Recurring Fair Value Measurements (Details) - Schedule of fair value of initial measurement",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c65",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeLiabilitiesAtFairValueTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "brpm:InitialWarrantLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "043 - Disclosure - Recurring Fair Value Measurements (Details) - Schedule of change in fair value of level 3 warrant liabilities",
     "role": "http://www.brpm.com/role/Scheduleofchangeinfairvalueoflevel3warrantliabilitiesTable",
     "shortName": "Recurring Fair Value Measurements (Details) - Schedule of change in fair value of level 3 warrant liabilities",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeLiabilitiesAtFairValueTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "brpm:InitialWarrantLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsForRent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "044 - Disclosure - Commitments (Details)",
     "role": "http://www.brpm.com/role/CommitmentsDetails",
     "shortName": "Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsForRent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "045 - Disclosure - Warrants (Details)",
     "role": "http://www.brpm.com/role/WarrantsDetails",
     "shortName": "Warrants (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "046 - Disclosure - Income Taxes (Details)",
     "role": "http://www.brpm.com/role/IncomeTaxesDetails",
     "shortName": "Income Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "047 - Disclosure - Income Taxes (Details) - Schedule of deferred tax asset",
     "role": "http://www.brpm.com/role/ScheduleofdeferredtaxassetTable",
     "shortName": "Income Taxes (Details) - Schedule of deferred tax asset",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c1",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FederalIncomeTaxNoteTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c11",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "048 - Disclosure - Income Taxes (Details) - Schedule of the income tax provision",
     "role": "http://www.brpm.com/role/ScheduleoftheincometaxprovisionTable",
     "shortName": "Income Taxes (Details) - Schedule of the income tax provision",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FederalIncomeTaxNoteTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c11",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c36",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "004 - Statement - Statement of Changes in Stockholders\u2019 Deficit",
     "role": "http://www.brpm.com/role/ShareholdersEquityType2or3",
     "shortName": "Statement of Changes in Stockholders\u2019 Deficit",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c36",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c11",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "049 - Disclosure - Income Taxes (Details) - Schedule of reconciliation of the Company\u2019s effective income tax rate",
     "role": "http://www.brpm.com/role/ScheduleofreconciliationoftheCompanyseffectiveincometaxrateTable",
     "shortName": "Income Taxes (Details) - Schedule of reconciliation of the Company\u2019s effective income tax rate",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c11",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockVotingRights",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "050 - Disclosure - Stockholders' Equity (Details)",
     "role": "http://www.brpm.com/role/StockholdersEquityDetails",
     "shortName": "Stockholders' Equity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockVotingRights",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:MergerAgreementDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "051 - Disclosure - Proposed Business Combination (Details)",
     "role": "http://www.brpm.com/role/ProposedBusinessCombinationDetails",
     "shortName": "Proposed Business Combination (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:MergerAgreementDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c211",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "052 - Disclosure - Subsequent Events (Details)",
     "role": "http://www.brpm.com/role/SubsequentEventsDetails",
     "shortName": "Subsequent Events (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c211",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfPublicUtilityPropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:LeaseholdImprovements",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "053 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of estimated useful lives of our fixed assets",
     "role": "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of estimated useful lives of our fixed assets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfPublicUtilityPropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:LeaseholdImprovements",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "054 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of disaggregates the company\u2019s revenue",
     "role": "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of disaggregates the company\u2019s revenue",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c100",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "brpm:WarrantCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "055 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of basic and diluted weighted-average shares of common stock outstanding",
     "role": "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of basic and diluted weighted-average shares of common stock outstanding",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "brpm:WarrantCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "srt:ScheduleOfCondensedIncomeStatementTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c110",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "056 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of consolidated statement of operations",
     "role": "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of consolidated statement of operations",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "srt:ScheduleOfCondensedIncomeStatementTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c110",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherCostOfOperatingRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "srt:ScheduleOfCondensedIncomeStatementTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c110",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "057 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of financial statements",
     "role": "http://www.brpm.com/role/ScheduleoffinancialstatementsTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of financial statements",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedFinancialStatementsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c113",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "058 - Disclosure - Property, Equipment and Leasehold Improvements (Details)",
     "role": "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsDetails",
     "shortName": "Property, Equipment and Leasehold Improvements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "brpm:SaleOfPrivatePlacementUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "005 - Statement - Statement of Changes in Stockholders\u2019 Deficit (Parentheticals)",
     "role": "http://www.brpm.com/role/ShareholdersEquityType2or3_Parentheticals",
     "shortName": "Statement of Changes in Stockholders\u2019 Deficit (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "brpm:SaleOfPrivatePlacementUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "059 - Disclosure - Property, Equipment and Leasehold Improvements (Details) - Schedule property, equipment and leasehold improvements",
     "role": "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable",
     "shortName": "Property, Equipment and Leasehold Improvements (Details) - Schedule property, equipment and leasehold improvements",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "060 - Disclosure - Intangibles Assets (Details)",
     "role": "http://www.brpm.com/role/IntangiblesAssetsDetails",
     "shortName": "Intangibles Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c136",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:PropertyPlantAndEquipmentCommonUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "061 - Disclosure - Intangibles Assets (Details) - Schedule of intangible assets",
     "role": "http://www.brpm.com/role/ScheduleofintangibleassetsTable",
     "shortName": "Intangibles Assets (Details) - Schedule of intangible assets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c136",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "brpm:PropertyPlantAndEquipmentCommonUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "brpm:FutureAmortizationOfAmortizableIntangibleAssetsTwoYears1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "062 - Disclosure - Intangibles Assets (Details) - Schedule of estimated future amortization of intangible assets",
     "role": "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable",
     "shortName": "Intangibles Assets (Details) - Schedule of estimated future amortization of intangible assets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "brpm:FutureAmortizationOfAmortizableIntangibleAssetsTwoYears1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "brpm:AccountsPayable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "063 - Disclosure - Accounts Payable and Accrued Expenses (Details) - Schedule of accounts payable and accrued expenses",
     "role": "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable",
     "shortName": "Accounts Payable and Accrued Expenses (Details) - Schedule of accounts payable and accrued expenses",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "brpm:AccountsPayable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c146",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConvertibleNotesPayableCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "064 - Disclosure - Debt (Details)",
     "role": "http://www.brpm.com/role/DebtDetails",
     "shortName": "Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c146",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConvertibleNotesPayableCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyTransactionDueFromToRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "065 - Disclosure - Debt (Details) - Schedule of debt",
     "role": "http://www.brpm.com/role/ScheduleofdebtTable",
     "shortName": "Debt (Details) - Schedule of debt",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartyTransactionDueFromToRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c55",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "066 - Disclosure - Debt (Details) - Schedule of long-term debt maturities",
     "role": "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable",
     "shortName": "Debt (Details) - Schedule of long-term debt maturities",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c55",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c13",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "brpm:SharebasedCompensationArrangementBySharebasedPaymentAwardPercentageThresholdOfGrantPrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "067 - Disclosure - Stock Compensation Expense and Warrants (Details)",
     "role": "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails",
     "shortName": "Stock Compensation Expense and Warrants (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c13",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "brpm:SharebasedCompensationArrangementBySharebasedPaymentAwardPercentageThresholdOfGrantPrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "brpm:ScheduleOfEquityIncentivePlanTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c190",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "brpm:EquityIncentivePlan",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "068 - Disclosure - Stock Compensation Expense and Warrants (Details) - Schedule of equity incentive plan",
     "role": "http://www.brpm.com/role/ScheduleofequityincentiveplanTable",
     "shortName": "Stock Compensation Expense and Warrants (Details) - Schedule of equity incentive plan",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "brpm:ScheduleOfEquityIncentivePlanTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c190",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "brpm:EquityIncentivePlan",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c11",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "006 - Statement - Statements of Cash Flows",
     "role": "http://www.brpm.com/role/ConsolidatedCashFlow",
     "shortName": "Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "lang": null,
      "name": "brpm:InterestEarnedOnInvestmentsHeldInTrustAccounts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c8",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "069 - Disclosure - Stock Compensation Expense and Warrants (Details) - Schedule of stock option activity and related information",
     "role": "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable",
     "shortName": "Stock Compensation Expense and Warrants (Details) - Schedule of stock option activity and related information",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "070 - Disclosure - Stock Compensation Expense and Warrants (Details) - Schedule of fair value of options and warrants granted",
     "role": "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable",
     "shortName": "Stock Compensation Expense and Warrants (Details) - Schedule of fair value of options and warrants granted",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "071 - Disclosure - Stock Compensation Expense and Warrants (Details) - Schedule of restricted stock awards activity and related information",
     "role": "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable",
     "shortName": "Stock Compensation Expense and Warrants (Details) - Schedule of restricted stock awards activity and related information",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "brpm:ScheduleOfWarrantActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c2",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "brpm:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "072 - Disclosure - Stock Compensation Expense and Warrants (Details) - Schedule of warrant activity",
     "role": "http://www.brpm.com/role/ScheduleofwarrantactivityTable",
     "shortName": "Stock Compensation Expense and Warrants (Details) - Schedule of warrant activity",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "brpm:ScheduleOfWarrantActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c195",
      "decimals": "INF",
      "lang": null,
      "name": "brpm:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "brpm:ScheduleOfWeightedaverageExercisePriceAndWeightedaverageGrantDateTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c196",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "073 - Disclosure - Stock Compensation Expense and Warrants (Details) - Schedule of weighted-average exercise price and weighted-average grant date",
     "role": "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable",
     "shortName": "Stock Compensation Expense and Warrants (Details) - Schedule of weighted-average exercise price and weighted-average grant date",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "brpm:ScheduleOfWeightedaverageExercisePriceAndWeightedaverageGrantDateTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c196",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "brpm:ScheduleOfStockbasedCompensationExpenseTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "brpm:StocksIssuedDuringPeriodValueStockOptionExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "074 - Disclosure - Stock Compensation Expense and Warrants (Details) - Schedule of stock-based compensation expense",
     "role": "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable",
     "shortName": "Stock Compensation Expense and Warrants (Details) - Schedule of stock-based compensation expense",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "brpm:ScheduleOfStockbasedCompensationExpenseTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "brpm:StocksIssuedDuringPeriodValueStockOptionExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "075 - Disclosure - Commitments and Contingencies (Details) - Schedule of future minimum lease payment",
     "role": "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable",
     "shortName": "Commitments and Contingencies (Details) - Schedule of future minimum lease payment",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "brpm:EmployeesEarnings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "076 - Disclosure - 401(K) Plan (Details)",
     "role": "http://www.brpm.com/role/401KPlanDetails",
     "shortName": "401(K) Plan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "brpm:EmployeesEarnings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c198",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleAccruedInterestWriteoff",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "077 - Disclosure - Litigation (Details)",
     "role": "http://www.brpm.com/role/LitigationDetails",
     "shortName": "Litigation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c198",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleAccruedInterestWriteoff",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "078 - Disclosure - Income Taxes (Details) - Schedule of deferred tax assets",
     "role": "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable",
     "shortName": "Income Taxes (Details) - Schedule of deferred tax assets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c8",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "007 - Disclosure - Organization and Nature of Business Operations",
     "role": "http://www.brpm.com/role/OrganizationandNatureofBusinessOperations",
     "shortName": "Organization and Nature of Business Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "079 - Disclosure - Income Taxes (Details) - Schedule of the statutory tax rates and the effective tax rates",
     "role": "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable",
     "shortName": "Income Taxes (Details) - Schedule of the statutory tax rates and the effective tax rates",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c12",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsAndCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "080 - Disclosure - Going Concern (Details)",
     "role": "http://www.brpm.com/role/GoingConcernDetails",
     "shortName": "Going Concern (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c7",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsAndCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "008 - Disclosure - Summary of Significant Accounting Policies",
     "role": "http://www.brpm.com/role/SummaryofSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "fs42022a1_brileyprinc.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 74,
   "tag": {
    "brpm_AccountingPoliciesbyPolicyPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies, by Policy (Policies) [Line Items]"
       }
      }
     },
     "localname": "AccountingPoliciesbyPolicyPoliciesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AccountingPoliciesbyPolicyPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies, by Policy (Policies) [Table]"
       }
      }
     },
     "localname": "AccountingPoliciesbyPolicyPoliciesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AccountingPronouncementsNotYetAdopted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AccountingPronouncementsNotYetAdopted",
        "terseLabel": "Accounting Pronouncements Not Yet Adopted"
       }
      }
     },
     "localname": "AccountingPronouncementsNotYetAdopted",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_AccountsPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "AccountsPayable",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "AccountsPayable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_AccountsPayableandAccruedExpensesDetailsScheduleofaccountspayableandaccruedexpensesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Expenses (Details) - Schedule of accounts payable and accrued expenses [Line Items]"
       }
      }
     },
     "localname": "AccountsPayableandAccruedExpensesDetailsScheduleofaccountspayableandaccruedexpensesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AccountsPayableandAccruedExpensesDetailsScheduleofaccountspayableandaccruedexpensesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Expenses (Details) - Schedule of accounts payable and accrued expenses [Table]"
       }
      }
     },
     "localname": "AccountsPayableandAccruedExpensesDetailsScheduleofaccountspayableandaccruedexpensesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AccountsPayableandAccruedExpensesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Expenses [Line Items]"
       }
      }
     },
     "localname": "AccountsPayableandAccruedExpensesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountsPayableandAccruedExpenses"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AccountsPayableandAccruedExpensesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Expenses [Table]"
       }
      }
     },
     "localname": "AccountsPayableandAccruedExpensesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountsPayableandAccruedExpenses"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AccountsPayableandAccruedExpensesTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Expenses (Tables) [Line Items]"
       }
      }
     },
     "localname": "AccountsPayableandAccruedExpensesTablesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountsPayableandAccruedExpensesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AccountsPayableandAccruedExpensesTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Expenses (Tables) [Table]"
       }
      }
     },
     "localname": "AccountsPayableandAccruedExpensesTablesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountsPayableandAccruedExpensesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AccruedForInterestAndPenaltiesDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AccruedForInterestAndPenaltiesDescription",
        "terseLabel": "Accrued for interest and penalties description"
       }
      }
     },
     "localname": "AccruedForInterestAndPenaltiesDescription",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AdditionalFinancingAmount": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional financing amount.",
        "label": "AdditionalFinancingAmount",
        "terseLabel": "Additional financing amount"
       }
      }
     },
     "localname": "AdditionalFinancingAmount",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/GoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_AdditionsToContentAsset": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions to content asset.",
        "label": "AdditionsToContentAsset",
        "negatedLabel": "Additions to content asset"
       }
      }
     },
     "localname": "AdditionsToContentAsset",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_AdvertisingExpensesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AdvertisingExpensesPolicyTextBlock",
        "terseLabel": "Advertising Expenses"
       }
      }
     },
     "localname": "AdvertisingExpensesPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_AggregateEarnoutConsiderationPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate earnout Ccnsideration percentage.",
        "label": "AggregateEarnoutConsiderationPercentage",
        "terseLabel": "Aggregate earnout consideration percentage"
       }
      }
     },
     "localname": "AggregateEarnoutConsiderationPercentage",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_AgreementTotalAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of agreement total amount.",
        "label": "AgreementTotalAmount",
        "terseLabel": "Agreement total amount"
       }
      }
     },
     "localname": "AgreementTotalAmount",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_AssetsAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AssetsAbstract0",
        "terseLabel": "Assets:"
       }
      }
     },
     "localname": "AssetsAbstract0",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_AwardsAvailableForGrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AwardsAvailableForGrantMember",
        "terseLabel": "Awards Available for Grant [Member]"
       }
      }
     },
     "localname": "AwardsAvailableForGrantMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_AwardsOutstandingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AwardsOutstandingMember",
        "terseLabel": "Awards Outstanding [Member]"
       }
      }
     },
     "localname": "AwardsOutstandingMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_AwardsReservedForIssuanceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AwardsReservedForIssuanceMember",
        "terseLabel": "Awards Reserved for Issuance [Member]"
       }
      }
     },
     "localname": "AwardsReservedForIssuanceMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_BasicAndDilutedEarningsPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would have been antidilutive for the period presented.",
        "label": "BasicAndDilutedEarningsPerShare",
        "terseLabel": "Basic and diluted earnings per share (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedEarningsPerShare",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "brpm_BasicAndDilutedNetIncomePerShareClassACommonStockSubjectToPossibleRedemptionin": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted loss per share.",
        "label": "BasicAndDilutedNetIncomePerShareClassACommonStockSubjectToPossibleRedemptionin",
        "terseLabel": "Class A Common Stock \u2013 basic and diluted (in Dollars per share)"
       }
      }
     },
     "localname": "BasicAndDilutedNetIncomePerShareClassACommonStockSubjectToPossibleRedemptionin",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "perShareItemType"
    },
    "brpm_BearInterestPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bear interest percentage.",
        "label": "BearInterestPercentage",
        "terseLabel": "Bear interest percentage"
       }
      }
     },
     "localname": "BearInterestPercentage",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_BrandSponsorshipsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BrandSponsorshipsMember",
        "terseLabel": "Brand sponsorships [Member]"
       }
      }
     },
     "localname": "BrandSponsorshipsMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_BridgingFinanceGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BridgingFinanceGroupMember",
        "terseLabel": "Bridging Finance Group [Member]"
       }
      }
     },
     "localname": "BridgingFinanceGroupMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_BusinessAdministrationPrincipalAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business administration principal amount.",
        "label": "BusinessAdministrationPrincipalAmount",
        "terseLabel": "Business administration principal amount"
       }
      }
     },
     "localname": "BusinessAdministrationPrincipalAmount",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_BusinessCombinationDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination description.",
        "label": "BusinessCombinationDescription",
        "terseLabel": "Business combination, description"
       }
      }
     },
     "localname": "BusinessCombinationDescription",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_BusinessCombinationEquityValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, equity value.",
        "label": "BusinessCombinationEquityValue",
        "terseLabel": "Business combination, equity value"
       }
      }
     },
     "localname": "BusinessCombinationEquityValue",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_COVID19PolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "COVID19PolicyPolicyTextBlock",
        "terseLabel": "COVID-19"
       }
      }
     },
     "localname": "COVID19PolicyPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_CapitalizationOfDeferredTransactionCostsIncludedInAccountsPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capitalization of deferred transaction costs included in accounts payable.",
        "label": "CapitalizationOfDeferredTransactionCostsIncludedInAccountsPayable",
        "terseLabel": "Capitalization of deferred transaction costs included in accounts payable"
       }
      }
     },
     "localname": "CapitalizationOfDeferredTransactionCostsIncludedInAccountsPayable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_CashAndCashEquivalentAtCarryingValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash and cash equivalents.",
        "label": "CashAndCashEquivalentAtCarryingValue",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentAtCarryingValue",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_ChangeInValueOfClassAOrdinarySharesSubjectToPossibleRedemption": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of change in value of Class A ordinary shares subject to possible redemption.",
        "label": "ChangeInValueOfClassAOrdinarySharesSubjectToPossibleRedemption",
        "terseLabel": "Initial value of Class A ordinary shares subject to possible redemption"
       }
      }
     },
     "localname": "ChangeInValueOfClassAOrdinarySharesSubjectToPossibleRedemption",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_ClassBCommonStockBasicAndDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class B Common Stock \u2013 basic and diluted.",
        "label": "ClassBCommonStockBasicAndDiluted",
        "terseLabel": "Class B Common Stock \u2013 basic and diluted (in Dollars per share)"
       }
      }
     },
     "localname": "ClassBCommonStockBasicAndDiluted",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "perShareItemType"
    },
    "brpm_CommerceMediaHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CommerceMediaHoldingsLLCMember",
        "terseLabel": "Commerce Media Holdings LLC [Member]"
       }
      }
     },
     "localname": "CommerceMediaHoldingsLLCMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_CommitmentsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments (Details) [Line Items]"
       }
      }
     },
     "localname": "CommitmentsDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/CommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommitmentsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments (Details) [Table]"
       }
      }
     },
     "localname": "CommitmentsDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/CommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommitmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments [Line Items]"
       }
      }
     },
     "localname": "CommitmentsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Commitments"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommitmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments [Table]"
       }
      }
     },
     "localname": "CommitmentsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Commitments"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommitmentsandContingenciesDetailsScheduleoffutureminimumleasepaymentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) - Schedule of future minimum lease payment [Line Items]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsScheduleoffutureminimumleasepaymentLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommitmentsandContingenciesDetailsScheduleoffutureminimumleasepaymentTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) - Schedule of future minimum lease payment [Table]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsScheduleoffutureminimumleasepaymentTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommitmentsandContingenciesTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Tables) [Line Items]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesTablesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/CommitmentsandContingenciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommitmentsandContingenciesTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Tables) [Table]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesTablesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/CommitmentsandContingenciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommonStockDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock, description.",
        "label": "CommonStockDescription",
        "terseLabel": "Common stock, description"
       }
      }
     },
     "localname": "CommonStockDescription",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_CommonStockParOrStatedValuePerShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CommonStockParOrStatedValuePerShares",
        "terseLabel": "Class A common shares (in Dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShares",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "brpm_CommonStockValue1": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "CommonStockValue1",
        "terseLabel": "Class B Common stock, $0.0001 par value; 10,000,000 shares authorized; 4,312,500 shares issued and outstanding at December 31, 2021 and December 31, 2020, respectively"
       }
      }
     },
     "localname": "CommonStockValue1",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_CommonStockValueOne": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "CommonStockValueOne",
        "terseLabel": "Common stock, $0.00001 par value; 31,900,878 shares authorized at December 31, 2021 and 2020, respectively; 8,461,706 and 7,397,055 shares issued and outstanding at December 31, 2021 and 2020, respectively."
       }
      }
     },
     "localname": "CommonStockValueOne",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_CompanyAccrued": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of company accrued.",
        "label": "CompanyAccrued",
        "terseLabel": "Accrued expense"
       }
      }
     },
     "localname": "CompanyAccrued",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_CompanyPaidOff": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Company paid off.",
        "label": "CompanyPaidOff",
        "terseLabel": "Amount paid in advance"
       }
      }
     },
     "localname": "CompanyPaidOff",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_ConcentrationRiskPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Concentrations of risks percentage.",
        "label": "ConcentrationRiskPercentage",
        "terseLabel": "Concentrations of risks percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_ConsumerProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ConsumerProductsMember",
        "terseLabel": "Consumer products [Member]"
       }
      }
     },
     "localname": "ConsumerProductsMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_ContentAssetNetPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ContentAssetNetPolicyTextBlock",
        "terseLabel": "Content Asset, net"
       }
      }
     },
     "localname": "ContentAssetNetPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_ContentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ContentMember",
        "terseLabel": "Content [Member]"
       }
      }
     },
     "localname": "ContentMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_ConvertibleDebtPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for convertible debt.",
        "label": "ConvertibleDebtPolicyTextBlock",
        "terseLabel": "Convertible Debt"
       }
      }
     },
     "localname": "ConvertibleDebtPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_ConvertiblePromissoryNotes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "ConvertiblePromissoryNotes",
        "terseLabel": "Convertible Promissory Note"
       }
      }
     },
     "localname": "ConvertiblePromissoryNotes",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_ConvertiblePromissoryNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ConvertiblePromissoryNotesMember",
        "terseLabel": "2021 Convertible promissory notes [Member]",
        "verboseLabel": "2021 Convertible Promissory Note [Member]"
       }
      }
     },
     "localname": "ConvertiblePromissoryNotesMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_ConvertiblePromissoryNotesOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ConvertiblePromissoryNotesOneMember",
        "terseLabel": "2020 Convertible promissory notes [Member]"
       }
      }
     },
     "localname": "ConvertiblePromissoryNotesOneMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_CoxConvertiblePromissoryNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CoxConvertiblePromissoryNoteMember",
        "terseLabel": "2021 Cox convertible promissory note [Member]",
        "verboseLabel": "2021 Cox Convertible Promissory Notes [Member]"
       }
      }
     },
     "localname": "CoxConvertiblePromissoryNoteMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_CurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CurrentAbstract",
        "terseLabel": "Current:"
       }
      }
     },
     "localname": "CurrentAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoftheincometaxprovisionTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt (Details) [Line Items]"
       }
      }
     },
     "localname": "DebtDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtDetailsScheduleofdebtLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt (Details) - Schedule of debt [Line Items]"
       }
      }
     },
     "localname": "DebtDetailsScheduleofdebtLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtDetailsScheduleofdebtTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt (Details) - Schedule of debt [Table]"
       }
      }
     },
     "localname": "DebtDetailsScheduleofdebtTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtDetailsScheduleoflongtermdebtmaturitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt (Details) - Schedule of long-term debt maturities [Line Items]"
       }
      }
     },
     "localname": "DebtDetailsScheduleoflongtermdebtmaturitiesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtDetailsScheduleoflongtermdebtmaturitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt (Details) - Schedule of long-term debt maturities [Table]"
       }
      }
     },
     "localname": "DebtDetailsScheduleoflongtermdebtmaturitiesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt (Details) [Table]"
       }
      }
     },
     "localname": "DebtDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt [Line Items]"
       }
      }
     },
     "localname": "DebtLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Debt"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt [Table]"
       }
      }
     },
     "localname": "DebtTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Debt"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt (Tables) [Line Items]"
       }
      }
     },
     "localname": "DebtTablesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DebtTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt (Tables) [Table]"
       }
      }
     },
     "localname": "DebtTablesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DeferredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DeferredAbstract",
        "terseLabel": "Deferred:"
       }
      }
     },
     "localname": "DeferredAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoftheincometaxprovisionTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DeferredIncomeTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DeferredIncomeTaxAssetsAbstract",
        "terseLabel": "Deferred income tax assets:"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DeferredIncomeTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DeferredIncomeTaxLiabilitiesAbstract",
        "terseLabel": "Deferred income tax liabilities:"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilitiesAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DeferredTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DeferredTaxAssetsAbstract",
        "terseLabel": "Deferred tax assets:"
       }
      }
     },
     "localname": "DeferredTaxAssetsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DeferredTaxAssetsTaxDeferredExpenseBadDebtExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of bad debt expense.",
        "label": "DeferredTaxAssetsTaxDeferredExpenseBadDebtExpense",
        "terseLabel": "Bad debt expense"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseBadDebtExpense",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_DeferredTaxLiabilitiesAccrualToCash": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of accrual to cash.",
        "label": "DeferredTaxLiabilitiesAccrualToCash",
        "terseLabel": "Accrual to cash"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesAccrualToCash",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_DescriptionoftheBusinessLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of the Business [Line Items]"
       }
      }
     },
     "localname": "DescriptionoftheBusinessLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DescriptionoftheBusiness"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DescriptionoftheBusinessTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of the Business [Table]"
       }
      }
     },
     "localname": "DescriptionoftheBusinessTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DescriptionoftheBusiness"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DividendRightsDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DividendRightsDescription",
        "terseLabel": "Dividend rights, description"
       }
      }
     },
     "localname": "DividendRightsDescription",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_DocumentAndEntityInformationAbstract": {
     "auth_ref": [],
     "localname": "DocumentAndEntityInformationAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_EarningsBasicAndDilutedRedeemableClassACommonStockSharesSubjectToPossibleRedemptioninDollarsPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basic and diluted net income per share.",
        "label": "EarningsBasicAndDilutedRedeemableClassACommonStockSharesSubjectToPossibleRedemptioninDollarsPerShare",
        "terseLabel": "Basic and diluted net loss per share of redeemable common stock"
       }
      }
     },
     "localname": "EarningsBasicAndDilutedRedeemableClassACommonStockSharesSubjectToPossibleRedemptioninDollarsPerShare",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "brpm_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTax": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTax",
        "terseLabel": "Unrecognized tax benefits federal"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTax",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "brpm_EffectiveIncomeTaxRateReconciliationAtStateStatutoryIncomeTax": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "EffectiveIncomeTaxRateReconciliationAtStateStatutoryIncomeTax",
        "terseLabel": "Unrecognized tax benefits state"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtStateStatutoryIncomeTax",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "brpm_EmergingGrowthCompanyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "EmergingGrowthCompanyPolicyTextBlock",
        "terseLabel": "Emerging Growth Company"
       }
      }
     },
     "localname": "EmergingGrowthCompanyPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_EmployeesEarnings": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employees earnings",
        "label": "EmployeesEarnings",
        "terseLabel": "Employees earnings"
       }
      }
     },
     "localname": "EmployeesEarnings",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/401KPlanDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_EquityIncentivePlan": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of equity incentive plan.",
        "label": "EquityIncentivePlan",
        "terseLabel": "Equity Incentive Plan"
       }
      }
     },
     "localname": "EquityIncentivePlan",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "brpm_EquityIncentivePlan2019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "EquityIncentivePlan2019Member",
        "terseLabel": "Equity Incentive Plan 2019 [Member]"
       }
      }
     },
     "localname": "EquityIncentivePlan2019Member",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_EsportsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "EsportsMember",
        "terseLabel": "Esports [Member]"
       }
      }
     },
     "localname": "EsportsMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_FAZECLANINCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FAZECLANINCMember",
        "terseLabel": "FAZE CLAN, INC.",
        "verboseLabel": "FAZE CLAN, INC. [Member]"
       }
      }
     },
     "localname": "FAZECLANINCMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/Debt",
      "http://www.brpm.com/role/DebtTables",
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_FaZeClanIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FaZe Clan Inc.[Member]",
        "netLabel": "FaZe Clan Inc [Member]",
        "terseLabel": "FaZe Clan Inc.",
        "verboseLabel": "FaZe Clan Inc. [Member]"
       }
      }
     },
     "localname": "FaZeClanIncMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/401KPlan",
      "http://www.brpm.com/role/401KPlanDetails",
      "http://www.brpm.com/role/AccountingPoliciesByPolicy",
      "http://www.brpm.com/role/AccountsPayableandAccruedExpenses",
      "http://www.brpm.com/role/AccountsPayableandAccruedExpensesTables",
      "http://www.brpm.com/role/Commitments",
      "http://www.brpm.com/role/CommitmentsDetails",
      "http://www.brpm.com/role/CommitmentsandContingenciesTables",
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/ConsolidatedIncomeStatement",
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/DescriptionoftheBusiness",
      "http://www.brpm.com/role/GoingConcern",
      "http://www.brpm.com/role/GoingConcernDetails",
      "http://www.brpm.com/role/IncomeTaxes",
      "http://www.brpm.com/role/IncomeTaxesDetails",
      "http://www.brpm.com/role/IncomeTaxesTables",
      "http://www.brpm.com/role/IntangiblesAssets",
      "http://www.brpm.com/role/IntangiblesAssetsDetails",
      "http://www.brpm.com/role/IntangiblesAssetsTables",
      "http://www.brpm.com/role/Litigation",
      "http://www.brpm.com/role/LitigationDetails",
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovements",
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsDetails",
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsTables",
      "http://www.brpm.com/role/RelatedPartyTransactions",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable",
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable",
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable",
      "http://www.brpm.com/role/ScheduleofdebtTable",
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable",
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable",
      "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable",
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable",
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable",
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable",
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable",
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable",
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable",
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable",
      "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable",
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrants",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables",
      "http://www.brpm.com/role/StockholdersEquity",
      "http://www.brpm.com/role/StockholdersEquityDetails",
      "http://www.brpm.com/role/SubsequentEvents",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPolicies",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_FaZesFoundersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FaZesFoundersMember",
        "terseLabel": "FaZe\u2019s founders [Member]"
       }
      }
     },
     "localname": "FaZesFoundersMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_FairValueLiabilitiesLevel1ToLevel2TransferAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of assets measured on a recurring basis out of Level 1 of the fair value hierarchy into Level 2.",
        "label": "FairValueLiabilitiesLevel1ToLevel2TransferAmount",
        "terseLabel": "Transfer of public warrants to Level 1"
       }
      }
     },
     "localname": "FairValueLiabilitiesLevel1ToLevel2TransferAmount",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Scheduleofchangeinfairvalueoflevel3warrantliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_ForeignExchangeImpacts": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of foreign exchange impact.",
        "label": "ForeignExchangeImpacts",
        "terseLabel": "Foreign exchange impact"
       }
      }
     },
     "localname": "ForeignExchangeImpacts",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_FounderSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "FounderSharesMember",
        "terseLabel": "Founder Shares [Member]"
       }
      }
     },
     "localname": "FounderSharesMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_FutureAmortizationOfAmortizableIntangibleAssetThreeYears": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "FutureAmortizationOfAmortizableIntangibleAssetThreeYears",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FutureAmortizationOfAmortizableIntangibleAssetThreeYears",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_FutureAmortizationOfAmortizableIntangibleAssetsFourYears": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "FutureAmortizationOfAmortizableIntangibleAssetsFourYears",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FutureAmortizationOfAmortizableIntangibleAssetsFourYears",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_FutureAmortizationOfAmortizableIntangibleAssetsTwoYears1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "FutureAmortizationOfAmortizableIntangibleAssetsTwoYears1",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "FutureAmortizationOfAmortizableIntangibleAssetsTwoYears1",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_GoingConcernDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Going Concern (Details) [Line Items]"
       }
      }
     },
     "localname": "GoingConcernDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/GoingConcernDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_GoingConcernDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Going Concern (Details) [Table]"
       }
      }
     },
     "localname": "GoingConcernDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/GoingConcernDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_GoingConcernLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Going Concern [Line Items]"
       }
      }
     },
     "localname": "GoingConcernLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/GoingConcern"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_GoingConcernTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Going Concern [Table]"
       }
      }
     },
     "localname": "GoingConcernTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/GoingConcern"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_GrossProceeds": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross proceeds.",
        "label": "GrossProceeds",
        "terseLabel": "Gross proceeds (in Dollars)"
       }
      }
     },
     "localname": "GrossProceeds",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_IncomeTaxesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesDetailsScheduleofdeferredtaxassetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of deferred tax assets [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofdeferredtaxassetsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesDetailsScheduleofdeferredtaxassetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of deferred tax assets [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofdeferredtaxassetsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesDetailsScheduleofthestatutorytaxratesandtheeffectivetaxratesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of the statutory tax rates and the effective tax rates [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofthestatutorytaxratesandtheeffectivetaxratesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesDetailsScheduleofthestatutorytaxratesandtheeffectivetaxratesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) - Schedule of the statutory tax rates and the effective tax rates [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsScheduleofthestatutorytaxratesandtheeffectivetaxratesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxes"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes [Table]"
       }
      }
     },
     "localname": "IncomeTaxesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxes"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Tables) [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesTablesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncomeTaxesTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Tables) [Table]"
       }
      }
     },
     "localname": "IncomeTaxesTablesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IncreaseDecreaseInContractAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in book value of long-lived assets that the reporting entity plans to sell within one year (or one business cycle).",
        "label": "IncreaseDecreaseInContractAssets",
        "negatedLabel": "Contract assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInContractAssets",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_IncreaseDecreaseOfWarrantIssueCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrant issue costs.",
        "label": "IncreaseDecreaseOfWarrantIssueCosts",
        "terseLabel": "Warrant issue costs"
       }
      }
     },
     "localname": "IncreaseDecreaseOfWarrantIssueCosts",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_IncreaseInPrepaidExpensesAndOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "IncreaseInPrepaidExpensesAndOther",
        "terseLabel": "Increase in prepaid expenses and other"
       }
      }
     },
     "localname": "IncreaseInPrepaidExpensesAndOther",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_InitialClassificationOfWarrantLiability": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of initial classification of warrant liability.",
        "label": "InitialClassificationOfWarrantLiability",
        "terseLabel": "Initial classification of warrant liability"
       }
      }
     },
     "localname": "InitialClassificationOfWarrantLiability",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_InitialWarrantLiabilities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "InitialWarrantLiabilities",
        "terseLabel": "Initial warrant liability at February 23,2021"
       }
      }
     },
     "localname": "InitialWarrantLiabilities",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Scheduleofchangeinfairvalueoflevel3warrantliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_IntangibleAssetsNetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "IntangibleAssetsNetMember",
        "terseLabel": "Intangible assets, net [Member]"
       }
      }
     },
     "localname": "IntangibleAssetsNetMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_IntangiblesAssetsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangibles Assets (Details) [Line Items]"
       }
      }
     },
     "localname": "IntangiblesAssetsDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IntangiblesAssetsDetailsScheduleofestimatedfutureamortizationofintangibleassetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangibles Assets (Details) - Schedule of estimated future amortization of intangible assets [Line Items]"
       }
      }
     },
     "localname": "IntangiblesAssetsDetailsScheduleofestimatedfutureamortizationofintangibleassetsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IntangiblesAssetsDetailsScheduleofestimatedfutureamortizationofintangibleassetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangibles Assets (Details) - Schedule of estimated future amortization of intangible assets [Table]"
       }
      }
     },
     "localname": "IntangiblesAssetsDetailsScheduleofestimatedfutureamortizationofintangibleassetsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IntangiblesAssetsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangibles Assets (Details) [Table]"
       }
      }
     },
     "localname": "IntangiblesAssetsDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IntangiblesAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangibles Assets [Line Items]"
       }
      }
     },
     "localname": "IntangiblesAssetsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IntangiblesAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangibles Assets [Table]"
       }
      }
     },
     "localname": "IntangiblesAssetsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IntangiblesAssetsTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangibles Assets (Tables) [Line Items]"
       }
      }
     },
     "localname": "IntangiblesAssetsTablesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssetsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IntangiblesAssetsTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangibles Assets (Tables) [Table]"
       }
      }
     },
     "localname": "IntangiblesAssetsTablesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssetsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_IntangiblesNetPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "IntangiblesNetPolicyTextBlock",
        "terseLabel": "Intangibles, net"
       }
      }
     },
     "localname": "IntangiblesNetPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_InterestEarnedOnInvestmentsHeldInTrustAccounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest earned on investments held in Trust Account.",
        "label": "InterestEarnedOnInvestmentsHeldInTrustAccounts",
        "terseLabel": "Interest earned on investments held in Trust Account"
       }
      }
     },
     "localname": "InterestEarnedOnInvestmentsHeldInTrustAccounts",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_InterestLimitation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest limitation.",
        "label": "InterestLimitation",
        "terseLabel": "163(j) interest limitation"
       }
      }
     },
     "localname": "InterestLimitation",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_InterestLoanPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest loan percentage.",
        "label": "InterestLoanPercentage",
        "terseLabel": "Interest loan percentage"
       }
      }
     },
     "localname": "InterestLoanPercentage",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_IssuanceCostsAllocatedToClassAOrdinaryShares": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance costs allocated to Class A ordinary shares.",
        "label": "IssuanceCostsAllocatedToClassAOrdinaryShares",
        "negatedLabel": "Issuance costs allocated to Class A common stock"
       }
      }
     },
     "localname": "IssuanceCostsAllocatedToClassAOrdinaryShares",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbalancesheetarereconciledTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_IssuanceOfCommonStockInConnectionWithExerciseOfStockOptions": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of common stock in connection with exercise of stock options prior to receipt of cash.",
        "label": "IssuanceOfCommonStockInConnectionWithExerciseOfStockOptions",
        "negatedLabel": "Issuance of common stock in connection with exercise of stock options"
       }
      }
     },
     "localname": "IssuanceOfCommonStockInConnectionWithExerciseOfStockOptions",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_IssuanceOfCommonStockInConnectionWithLitigationSettlement": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Issuance of common stock in connection with litigation settlement.",
        "label": "IssuanceOfCommonStockInConnectionWithLitigationSettlement",
        "terseLabel": "Issuance of common stock in connection with litigation settlement"
       }
      }
     },
     "localname": "IssuanceOfCommonStockInConnectionWithLitigationSettlement",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_KPlanDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "401(K) Plan (Details) [Line Items]"
       }
      }
     },
     "localname": "KPlanDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/401KPlanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_KPlanDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "401(K) Plan (Details) [Table]"
       }
      }
     },
     "localname": "KPlanDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/401KPlanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_KPlanLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "401(K) Plan [Line Items]"
       }
      }
     },
     "localname": "KPlanLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/401KPlan"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_KPlanTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "401(K) Plan [Table]"
       }
      }
     },
     "localname": "KPlanTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/401KPlan"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_LeaseholdImprovements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LeaseholdImprovements",
        "terseLabel": "Leasehold improvements"
       }
      }
     },
     "localname": "LeaseholdImprovements",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_LegalAccrual": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of legal accrual.",
        "label": "LegalAccrual",
        "terseLabel": "Legal accrual"
       }
      }
     },
     "localname": "LegalAccrual",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_LessAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LessAbstract",
        "terseLabel": "Less:"
       }
      }
     },
     "localname": "LessAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbalancesheetarereconciledTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_LessShortTermDebt": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Less: Short-Term Debt.",
        "label": "LessShortTermDebt",
        "terseLabel": "Less: Short-term debt"
       }
      }
     },
     "localname": "LessShortTermDebt",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_LessUnamortizedDebtIssuanceCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Less: Unamortized Debt Issuance Costs.",
        "label": "LessUnamortizedDebtIssuanceCosts",
        "terseLabel": "Less: Unamortized debt issuance costs"
       }
      }
     },
     "localname": "LessUnamortizedDebtIssuanceCosts",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_LiabilitiesAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LiabilitiesAbstract0",
        "terseLabel": "Liabilities:"
       }
      }
     },
     "localname": "LiabilitiesAbstract0",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_LitigationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation [Abstract]"
       }
      }
     },
     "localname": "LitigationAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_LitigationDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation (Details) [Line Items]"
       }
      }
     },
     "localname": "LitigationDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_LitigationDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation (Details) [Table]"
       }
      }
     },
     "localname": "LitigationDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_LitigationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation [Line Items]"
       }
      }
     },
     "localname": "LitigationLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Litigation"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_LitigationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation [Table]"
       }
      }
     },
     "localname": "LitigationTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Litigation"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_LitigationTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Litigation",
        "label": "LitigationTextBlock",
        "terseLabel": "LITIGATION"
       }
      }
     },
     "localname": "LitigationTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Litigation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_MergerAgreementDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merger agreement description.",
        "label": "MergerAgreementDescription",
        "terseLabel": "Merger agreement, description"
       }
      }
     },
     "localname": "MergerAgreementDescription",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_MezzanineEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "MezzanineEquityAbstract",
        "terseLabel": "MEZZANINE EQUITY:"
       }
      }
     },
     "localname": "MezzanineEquityAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_MrSelkoeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "MrSelkoeMember",
        "terseLabel": "Mr. Selkoe [Member]"
       }
      }
     },
     "localname": "MrSelkoeMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_MsButlerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "MsButlerMember",
        "terseLabel": "Ms. Butler [Member]"
       }
      }
     },
     "localname": "MsButlerMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_NetOperatingLossesDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net operating losses description.",
        "label": "NetOperatingLossesDescription",
        "terseLabel": "Net operating losses description"
       }
      }
     },
     "localname": "NetOperatingLossesDescription",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_NonEmployeeWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NonEmployeeWarrantsMember",
        "terseLabel": "Non-Employee Warrants [Member]"
       }
      }
     },
     "localname": "NonEmployeeWarrantsMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_NonRedeemableCommonStockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NonRedeemableCommonStockAbstract",
        "terseLabel": "Non-redeemable common stock"
       }
      }
     },
     "localname": "NonRedeemableCommonStockAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_NotePayableRelatedPartyPloicy": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Note payable related party.",
        "label": "NotePayableRelatedPartyPloicy",
        "terseLabel": "Note Payable \u2014 Related Party"
       }
      }
     },
     "localname": "NotePayableRelatedPartyPloicy",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_NumberOfSharesOptionsCancelled": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of number of shares, options cancelled.",
        "label": "NumberOfSharesOptionsCancelled",
        "terseLabel": "Number of Shares, Options Cancelled"
       }
      }
     },
     "localname": "NumberOfSharesOptionsCancelled",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "brpm_OfferingCostsExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "OfferingCostsExpenses",
        "terseLabel": "Offering costs expense"
       }
      }
     },
     "localname": "OfferingCostsExpenses",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_OneCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OneCustomersMember",
        "terseLabel": "One Customers [Member]"
       }
      }
     },
     "localname": "OneCustomersMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_OneIndependentContractorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OneIndependentContractorMember",
        "terseLabel": "One Independent Contractor [Member]"
       }
      }
     },
     "localname": "OneIndependentContractorMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_OneVendorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OneVendorMember",
        "terseLabel": "One Vendor [Member]"
       }
      }
     },
     "localname": "OneVendorMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_OperatingBankAccount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating bank account.",
        "label": "OperatingBankAccount",
        "terseLabel": "Operating bank account"
       }
      }
     },
     "localname": "OperatingBankAccount",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_OptionsVestedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options vested percentage.",
        "label": "OptionsVestedPercentage",
        "terseLabel": "Options vested percentage"
       }
      }
     },
     "localname": "OptionsVestedPercentage",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_OrganizationandNatureofBusinessOperationsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization and Nature of Business Operations (Details) [Line Items]"
       }
      }
     },
     "localname": "OrganizationandNatureofBusinessOperationsDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_OrganizationandNatureofBusinessOperationsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization and Nature of Business Operations (Details) [Table]"
       }
      }
     },
     "localname": "OrganizationandNatureofBusinessOperationsDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_OtherExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OtherExpenseAbstract",
        "terseLabel": "Other expense:"
       }
      }
     },
     "localname": "OtherExpenseAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_OtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OtherMember",
        "terseLabel": "Other [Member]"
       }
      }
     },
     "localname": "OtherMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_OtherOfferingCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of other offering costs.",
        "label": "OtherOfferingCosts",
        "terseLabel": "Other offering costs"
       }
      }
     },
     "localname": "OtherOfferingCosts",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_PPPLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PPPLoanMember",
        "terseLabel": "2020 PPP loan [Member]"
       }
      }
     },
     "localname": "PPPLoanMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_PayFranchiseAndIncomeTaxes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pay franchise and income taxes of interest to pay dissolution expenses.",
        "label": "PayFranchiseAndIncomeTaxes",
        "terseLabel": "Pay franchise and income taxes"
       }
      }
     },
     "localname": "PayFranchiseAndIncomeTaxes",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_PaymentOfUnderwritingDiscounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment of underwriting discounts.",
        "label": "PaymentOfUnderwritingDiscounts",
        "negatedLabel": "Payment of underwriting discounts"
       }
      }
     },
     "localname": "PaymentOfUnderwritingDiscounts",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_PaymentTerms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PaymentTerms",
        "terseLabel": "Payment terms"
       }
      }
     },
     "localname": "PaymentTerms",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "brpm_PercentageOfOutstandingShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of outstanding shares.",
        "label": "PercentageOfOutstandingShares",
        "terseLabel": "Percentage of outstanding shares"
       }
      }
     },
     "localname": "PercentageOfOutstandingShares",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_PlusAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PlusAbstract",
        "terseLabel": "Plus:"
       }
      }
     },
     "localname": "PlusAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbalancesheetarereconciledTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_PlusPayment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of plus payment.",
        "label": "PlusPayment",
        "terseLabel": "Plus payment"
       }
      }
     },
     "localname": "PlusPayment",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_PrivatePlacementWarrants": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is liabilities of private placement warrants.",
        "label": "PrivatePlacementWarrants",
        "terseLabel": "Private Placement Warrants"
       }
      }
     },
     "localname": "PrivatePlacementWarrants",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_PrivatePlacementWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PrivatePlacementWarrantsMember",
        "terseLabel": "Private Placement Warrants [Member]"
       }
      }
     },
     "localname": "PrivatePlacementWarrantsMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_ProceedsFromIssuanceOfClassBCommonStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from issuance of Class B common stock.",
        "label": "ProceedsFromIssuanceOfClassBCommonStock",
        "terseLabel": "Proceeds from issuance of Class B common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfClassBCommonStock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_PropertyEquipmentandLeaseholdImprovementsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Equipment and Leasehold Improvements (Details) [Line Items]"
       }
      }
     },
     "localname": "PropertyEquipmentandLeaseholdImprovementsDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_PropertyEquipmentandLeaseholdImprovementsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Equipment and Leasehold Improvements (Details) [Table]"
       }
      }
     },
     "localname": "PropertyEquipmentandLeaseholdImprovementsDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_PropertyEquipmentandLeaseholdImprovementsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Equipment and Leasehold Improvements [Line Items]"
       }
      }
     },
     "localname": "PropertyEquipmentandLeaseholdImprovementsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovements"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_PropertyEquipmentandLeaseholdImprovementsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Equipment and Leasehold Improvements [Table]"
       }
      }
     },
     "localname": "PropertyEquipmentandLeaseholdImprovementsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovements"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_PropertyEquipmentandLeaseholdImprovementsTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Equipment and Leasehold Improvements (Tables) [Line Items]"
       }
      }
     },
     "localname": "PropertyEquipmentandLeaseholdImprovementsTablesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_PropertyEquipmentandLeaseholdImprovementsTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Equipment and Leasehold Improvements (Tables) [Table]"
       }
      }
     },
     "localname": "PropertyEquipmentandLeaseholdImprovementsTablesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_PropertyPlantAndEquipmentCommonUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PropertyPlantAndEquipmentCommonUsefulLife",
        "terseLabel": "Useful Life"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentCommonUsefulLife",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_PublicOfferingCost": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public offering Cost.",
        "label": "PublicOfferingCost",
        "terseLabel": "Public offering cost"
       }
      }
     },
     "localname": "PublicOfferingCost",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_PublicOfferingUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PublicOfferingUnitsMember",
        "terseLabel": "Public Units [Member]"
       }
      }
     },
     "localname": "PublicOfferingUnitsMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_PublicWarrants": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amonut of liabilities public warrants.",
        "label": "PublicWarrants",
        "terseLabel": "Public Warrants"
       }
      }
     },
     "localname": "PublicWarrants",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_PublicWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PublicWarrantsMember",
        "terseLabel": "Public Warrants [Member]"
       }
      }
     },
     "localname": "PublicWarrantsMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_PurchaseAgreementDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase agreement description.",
        "label": "PurchaseAgreementDescription",
        "terseLabel": "Purchase agreement description"
       }
      }
     },
     "localname": "PurchaseAgreementDescription",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RealizedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Realized percentage.",
        "label": "RealizedPercentage",
        "terseLabel": "Realized percentage"
       }
      }
     },
     "localname": "RealizedPercentage",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_ReconciliationToConsolidatedBalanceSheetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ReconciliationToConsolidatedBalanceSheetsAbstract",
        "terseLabel": "RECONCILIATION TO CONSOLIDATED BALANCE SHEETS"
       }
      }
     },
     "localname": "ReconciliationToConsolidatedBalanceSheetsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RecurringFairValueMeasurementsDetailsScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recurring Fair Value Measurements (Details) - Schedule of fair value, assets and liabilities measured on recurring basis [Line Items]"
       }
      }
     },
     "localname": "RecurringFairValueMeasurementsDetailsScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RecurringFairValueMeasurementsDetailsScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recurring Fair Value Measurements (Details) - Schedule of fair value, assets and liabilities measured on recurring basis [Table]"
       }
      }
     },
     "localname": "RecurringFairValueMeasurementsDetailsScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RedeemableCommonStockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RedeemableCommonStockAbstract",
        "terseLabel": "Redeemable common stock"
       }
      }
     },
     "localname": "RedeemableCommonStockAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RelatedPartyTransactionsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions (Details) [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RelatedPartyTransactionsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions (Details) [Table]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RelatedPartyTransactionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactions"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RelatedPartyTransactionsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Table]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactions"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_RevenuesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RevenuesMember",
        "terseLabel": "Revenues [Member]"
       }
      }
     },
     "localname": "RevenuesMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_RevisionsToPreviouslyIssuedFinancialStatementsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RevisionsToPreviouslyIssuedFinancialStatementsPolicyTextBlock",
        "terseLabel": "Revisions to Previously Issued Financial Statements"
       }
      }
     },
     "localname": "RevisionsToPreviouslyIssuedFinancialStatementsPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_SaleOfPrivatePlacementUnits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "SaleOfPrivatePlacementUnits",
        "terseLabel": "Sale of private placement units"
       }
      }
     },
     "localname": "SaleOfPrivatePlacementUnits",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_SalmanAndGimelshteinMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SalmanAndGimelshteinMember",
        "terseLabel": "Salman and Gimelshtein [Member]"
       }
      }
     },
     "localname": "SalmanAndGimelshteinMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_ScheduleOfAccountsPayableAndAccruedExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of accounts payable and accrued expenses [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfAccountsPayableAndAccruedExpensesAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfBalanceSheetAreReconciledAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of balance sheet are reconciled [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfBalanceSheetAreReconciledAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfBasicAndDilutedWeightedAverageSharesOfCommonStockOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of basic and diluted weighted-average shares of common stock outstanding [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfBasicAndDilutedWeightedAverageSharesOfCommonStockOutstandingAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfChangeInFairValueOfLevel3WarrantLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of change in fair value of level 3 warrant liabilities [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfChangeInFairValueOfLevel3WarrantLiabilitiesAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfConsolidatedStatementOfOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of consolidated statement of operations [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfConsolidatedStatementOfOperationsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfDebtAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of debt [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDebtAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfDeferredTaxAssetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of deferred tax asset [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfDeferredTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of deferred tax assets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfDisaggregatesTheCompanySRevenueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of disaggregates the company\u2019s revenue [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDisaggregatesTheCompanySRevenueAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfEquityIncentivePlanAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of equity incentive plan [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfEquityIncentivePlanAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfEquityIncentivePlanTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ScheduleOfEquityIncentivePlanTableTextBlock",
        "terseLabel": "Schedule of equity incentive plan"
       }
      }
     },
     "localname": "ScheduleOfEquityIncentivePlanTableTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_ScheduleOfEstimatedFutureAmortizationOfIntangibleAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of estimated future amortization of intangible assets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfEstimatedFutureAmortizationOfIntangibleAssetsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfEstimatedUsefulLivesOfOurFixedAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of estimated useful lives of our fixed assets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfEstimatedUsefulLivesOfOurFixedAssetsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of fair value, assets and liabilities measured on recurring basis [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfFairValueOfInitialMeasurementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of fair value of initial measurement [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFairValueOfInitialMeasurementAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfFairValueOfOptionsAndWarrantsGrantedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of fair value of options and warrants granted [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFairValueOfOptionsAndWarrantsGrantedAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of financial statements [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFinancialStatementsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfFutureMinimumLeasePaymentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of future minimum lease payment [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFutureMinimumLeasePaymentAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfIntangibleAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of intangible assets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfIntangibleAssetsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfLongTermDebtMaturitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of long-term debt maturities [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfLongTermDebtMaturitiesAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfReconciliationOfTheCompanySEffectiveIncomeTaxRateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of reconciliation of the Company\u2019s effective income tax rate [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfReconciliationOfTheCompanySEffectiveIncomeTaxRateAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfReconciliationOfTheNumeratorAndDenominatorUsedToComputeBasicAndDilutedNetLossPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of reconciliation of the numerator and denominator used to compute basic and diluted net loss per share [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfReconciliationOfTheNumeratorAndDenominatorUsedToComputeBasicAndDilutedNetLossPerShareAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfRestrictedStockAwardsActivityAndRelatedInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of restricted stock awards activity and related information [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfRestrictedStockAwardsActivityAndRelatedInformationAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfStockBasedCompensationExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of stock-based compensation expense [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfStockBasedCompensationExpenseAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfStockOptionActivityAndRelatedInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of stock option activity and related information [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfStockOptionActivityAndRelatedInformationAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfStockbasedCompensationExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ScheduleOfStockbasedCompensationExpenseTableTextBlock",
        "terseLabel": "Schedule of stock-based compensation expense"
       }
      }
     },
     "localname": "ScheduleOfStockbasedCompensationExpenseTableTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_ScheduleOfTheIncomeTaxProvisionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of the income tax provision [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfTheIncomeTaxProvisionAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfTheStatutoryTaxRatesAndTheEffectiveTaxRatesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of the statutory tax rates and the effective tax rates [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfTheStatutoryTaxRatesAndTheEffectiveTaxRatesAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfWarrantActivityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of warrant activity [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfWarrantActivityAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfWarrantActivityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ScheduleOfWarrantActivityTableTextBlock",
        "terseLabel": "Schedule of warrant activity"
       }
      }
     },
     "localname": "ScheduleOfWarrantActivityTableTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_ScheduleOfWeightedAverageExercisePriceAndWeightedAverageGrantDateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of weighted-average exercise price and weighted-average grant date [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfWeightedAverageExercisePriceAndWeightedAverageGrantDateAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_ScheduleOfWeightedaverageExercisePriceAndWeightedaverageGrantDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ScheduleOfWeightedaverageExercisePriceAndWeightedaverageGrantDateTableTextBlock",
        "terseLabel": "Schedule of weighted-average exercise price and weighted-average grant date"
       }
      }
     },
     "localname": "ScheduleOfWeightedaverageExercisePriceAndWeightedaverageGrantDateTableTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_SchedulePropertyEquipmentAndLeaseholdImprovementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule property, equipment and leasehold improvements [Abstract]"
       }
      }
     },
     "localname": "SchedulePropertyEquipmentAndLeaseholdImprovementsAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_SecuredConvertiblePromissoryNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SecuredConvertiblePromissoryNoteMember",
        "terseLabel": "2020 Secured convertible promissory note [Member]"
       }
      }
     },
     "localname": "SecuredConvertiblePromissoryNoteMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_SettlementAgreementDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SettlementAgreementDescription",
        "terseLabel": "Settlement agreement"
       }
      }
     },
     "localname": "SettlementAgreementDescription",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentOutstandingNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Outstanding Number.",
        "label": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentOutstandingNumber",
        "periodEndLabel": "Warrants outstanding, ending",
        "periodStartLabel": "Warrants outstanding, beginning"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentOutstandingNumber",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofwarrantactivityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "brpm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsCommonStockWarrantNonEmployee": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of share based compensation arrangement by share based payment award options common stock warrant non employee.",
        "label": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsCommonStockWarrantNonEmployee",
        "terseLabel": "Common stock warrants \u2013 Non-employee"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsCommonStockWarrantNonEmployee",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_ShareBasedCompensationArrangementByShareBasedPaymentsAwardOptionsOutstandingNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "ShareBasedCompensationArrangementByShareBasedPaymentsAwardOptionsOutstandingNumber",
        "terseLabel": "Number of Shares, Options Outstanding and Exercisable as of ending balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentsAwardOptionsOutstandingNumber",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "brpm_SharebasedCompensationArrangementBySharebasedPaymentAwardPercentageOfGrantedFairMarketValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Percentage of Granted Fair Market Value",
        "label": "SharebasedCompensationArrangementBySharebasedPaymentAwardPercentageOfGrantedFairMarketValue",
        "terseLabel": "Fair market value"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardPercentageOfGrantedFairMarketValue",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_SharebasedCompensationArrangementBySharebasedPaymentAwardPercentageThresholdOfGrantPrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Percentage Threshold of Grant Price",
        "label": "SharebasedCompensationArrangementBySharebasedPaymentAwardPercentageThresholdOfGrantPrice",
        "terseLabel": "Percentage of voting power"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardPercentageThresholdOfGrantPrice",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofequityincentiveplanLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of equity incentive plan [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofequityincentiveplanLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofequityincentiveplanTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of equity incentive plan [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofequityincentiveplanTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleoffairvalueofoptionsandwarrantsgrantedLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of fair value of options and warrants granted [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleoffairvalueofoptionsandwarrantsgrantedLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleoffairvalueofoptionsandwarrantsgrantedTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of fair value of options and warrants granted [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleoffairvalueofoptionsandwarrantsgrantedTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofrestrictedstockawardsactivityandrelatedinformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of restricted stock awards activity and related information [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofrestrictedstockawardsactivityandrelatedinformationLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofrestrictedstockawardsactivityandrelatedinformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of restricted stock awards activity and related information [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofrestrictedstockawardsactivityandrelatedinformationTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofstockbasedcompensationexpenseLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of stock-based compensation expense [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofstockbasedcompensationexpenseLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofstockbasedcompensationexpenseTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of stock-based compensation expense [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofstockbasedcompensationexpenseTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofstockoptionactivityandrelatedinformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of stock option activity and related information [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofstockoptionactivityandrelatedinformationLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofstockoptionactivityandrelatedinformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of stock option activity and related information [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofstockoptionactivityandrelatedinformationTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofweightedaverageexercisepriceandweightedaveragegrantdateLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of weighted-average exercise price and weighted-average grant date [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofweightedaverageexercisepriceandweightedaveragegrantdateLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) - Schedule of weighted-average exercise price and weighted-average grant date [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Details) [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrants"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrants"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Tables) [Line Items]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsTablesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockCompensationExpenseandWarrantsTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Compensation Expense and Warrants (Tables) [Table]"
       }
      }
     },
     "localname": "StockCompensationExpenseandWarrantsTablesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockIssuedDuringPeriodShareStockOptionsExercised": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share option (or share units) exercised during the current period.",
        "label": "StockIssuedDuringPeriodShareStockOptionsExercised",
        "negatedLabel": "Number of Shares Options Exercised",
        "terseLabel": "Stock option exercised (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodShareStockOptionsExercised",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "brpm_StockholdersEquityDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity (Details) [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockholdersEquityDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity (Details) [Table]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockholdersEquityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StockholdersEquityTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity [Table]"
       }
      }
     },
     "localname": "StockholdersEquityTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_StocksIssuedDuringPeriodValueStockOptionExercised": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "StocksIssuedDuringPeriodValueStockOptionExercised",
        "terseLabel": "Stock options"
       }
      }
     },
     "localname": "StocksIssuedDuringPeriodValueStockOptionExercised",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_SubsequentEventsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events (Details) [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventsDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SubsequentEventsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events (Details) [Table]"
       }
      }
     },
     "localname": "SubsequentEventsDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SubsequentEventsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SubsequentEvents"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SubsequentEventsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Table]"
       }
      }
     },
     "localname": "SubsequentEventsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SubsequentEvents"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SubstantialDoubtAboutGoingConcernPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for substantial doubt about going concern.",
        "label": "SubstantialDoubtAboutGoingConcernPolicyTextBlock",
        "terseLabel": "Going Concern"
       }
      }
     },
     "localname": "SubstantialDoubtAboutGoingConcernPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_SummaryofSignificantAccountingPoliciesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Details) [Line Items]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SummaryofSignificantAccountingPoliciesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Details) [Table]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SummaryofSignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPolicies"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SummaryofSignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPolicies"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SummaryofSignificantAccountingPoliciesTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Tables) [Line Items]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesTablesLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_SummaryofSignificantAccountingPoliciesTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Tables) [Table]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesTablesTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_TalentAcquisitionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TalentAcquisitionMember",
        "terseLabel": "Talent acquisition [Member]"
       }
      }
     },
     "localname": "TalentAcquisitionMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_ThreeCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ThreeCustomersMember",
        "terseLabel": "Three Customers [Member]"
       }
      }
     },
     "localname": "ThreeCustomersMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_TotalPotentiallyDilutiveCommonStockEquivalents": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "TotalPotentiallyDilutiveCommonStockEquivalents",
        "terseLabel": "Total potentially dilutive common stock equivalents"
       }
      }
     },
     "localname": "TotalPotentiallyDilutiveCommonStockEquivalents",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_TotalSharesOfCapitalStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of total shares of capital stock .",
        "label": "TotalSharesOfCapitalStock",
        "terseLabel": "Total shares of capital stock"
       }
      }
     },
     "localname": "TotalSharesOfCapitalStock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_TotalStockBasedCompensationExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "TotalStockBasedCompensationExpense",
        "terseLabel": "Total stock \u2013 based compensation expense"
       }
      }
     },
     "localname": "TotalStockBasedCompensationExpense",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_TreschowFritzoeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TreschowFritzoeMember",
        "terseLabel": "Treschow-Fritzoe [Member]"
       }
      }
     },
     "localname": "TreschowFritzoeMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_TwoCustomerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TwoCustomerMember",
        "terseLabel": "Two Customer [Member]"
       }
      }
     },
     "localname": "TwoCustomerMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_TwoZeroOneNineTermLoanFacilityTermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TwoZeroOneNineTermLoanFacilityTermLoanMember",
        "terseLabel": "Two Zero One Nine Term Loan Facility (\u201cTerm Loan\u201d) [Member]"
       }
      }
     },
     "localname": "TwoZeroOneNineTermLoanFacilityTermLoanMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_TwoZeroTwoZeroConvertiblePromissoryNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TwoZeroTwoZeroConvertiblePromissoryNotesMember",
        "terseLabel": "Two Zero Two Zero Convertible Promissory Notes [Member]"
       }
      }
     },
     "localname": "TwoZeroTwoZeroConvertiblePromissoryNotesMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_TwoZeroTwoZeroPaycheckProtectionProgramLoanPPPLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TwoZeroTwoZeroPaycheckProtectionProgramLoanPPPLoanMember",
        "terseLabel": "Two Zero Two Zero Paycheck Protection Program Loan (\u201cPPP Loan\u201d) [Member]"
       }
      }
     },
     "localname": "TwoZeroTwoZeroPaycheckProtectionProgramLoanPPPLoanMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_TwoZeroTwoZeroSecuredConvertibleNotePurchaseAgreementAndSecuredConvertiblePromissoryNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TwoZeroTwoZeroSecuredConvertibleNotePurchaseAgreementAndSecuredConvertiblePromissoryNoteMember",
        "terseLabel": "2020 Secured Convertible Note Purchase Agreement and Secured Convertible Promissory Note [Member]"
       }
      }
     },
     "localname": "TwoZeroTwoZeroSecuredConvertibleNotePurchaseAgreementAndSecuredConvertiblePromissoryNoteMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_UnderwritersAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of underwriters.",
        "label": "UnderwritersAmount",
        "terseLabel": "Underwriter's amount"
       }
      }
     },
     "localname": "UnderwritersAmount",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_UnrecognizedTaxBenefitPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrecognized Tax Benefit Policy.",
        "label": "UnrecognizedTaxBenefitPolicyPolicyTextBlock",
        "terseLabel": "Unrecognized Tax Benefits"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitPolicyPolicyTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_UnrecognizedTaxBenefitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UnrecognizedTaxBenefitsMember",
        "terseLabel": "Unrecognized Tax Benefits [Member]"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsMember",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "brpm_VestedWarrantsOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "VestedWarrantsOutstanding",
        "terseLabel": "Vested warrants outstanding (in Shares)"
       }
      }
     },
     "localname": "VestedWarrantsOutstanding",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "brpm_VestingConditions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting conditions term.",
        "label": "VestingConditions",
        "terseLabel": "Vesting conditions term"
       }
      }
     },
     "localname": "VestingConditions",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "brpm_WarrantCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "WarrantCurrent",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantCurrent",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_WarrantIssueCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherNonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrant issue costs.",
        "label": "WarrantIssueCosts",
        "terseLabel": "Warrant issue costs"
       }
      }
     },
     "localname": "WarrantIssueCosts",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_WarrantLiabilityCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "WarrantLiabilityCurrent",
        "terseLabel": "Warrant Liability"
       }
      }
     },
     "localname": "WarrantLiabilityCurrent",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_Warrants": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of warrants.",
        "label": "Warrants",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "Warrants",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_WarrantsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants (Details) [Line Items]"
       }
      }
     },
     "localname": "WarrantsDetailsLineItems",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_WarrantsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants (Details) [Table]"
       }
      }
     },
     "localname": "WarrantsDetailsTable",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "brpm_WarrantsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants Disclosure [Abstract]"
       }
      }
     },
     "localname": "WarrantsDisclosureAbstract",
     "nsuri": "http://www.brpm.com/20211231",
     "xbrltype": "stringItemType"
    },
    "brpm_WarrantsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "WarrantsDisclosureTextBlock",
        "terseLabel": "WARRANTS"
       }
      }
     },
     "localname": "WarrantsDisclosureTextBlock",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/Warrants"
     ],
     "xbrltype": "textBlockItemType"
    },
    "brpm_WeightedAverageExercisePricePerShareOptionsCancelled": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of weighted- average exercise price per share, options cancelled.",
        "label": "WeightedAverageExercisePricePerShareOptionsCancelled",
        "terseLabel": "Weighted- Average Exercise Price Per Share, Options Cancelled"
       }
      }
     },
     "localname": "WeightedAverageExercisePricePerShareOptionsCancelled",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "brpm_WeightedAverageNumberOfShareOutstandingBasicAndDilutedSubjectToPossibleRedemption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share Shares subject to possible redemption.",
        "label": "WeightedAverageNumberOfShareOutstandingBasicAndDilutedSubjectToPossibleRedemption",
        "terseLabel": "Basic and diluted weighted average shares of redeemable common stock"
       }
      }
     },
     "localname": "WeightedAverageNumberOfShareOutstandingBasicAndDilutedSubjectToPossibleRedemption",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "brpm_WorkingCapital": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Working capital.",
        "label": "WorkingCapital",
        "terseLabel": "Working capital"
       }
      }
     },
     "localname": "WorkingCapital",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "brpm_liquidInstruments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "liquidInstruments",
        "terseLabel": "Liquid instruments"
       }
      }
     },
     "localname": "liquidInstruments",
     "nsuri": "http://www.brpm.com/20211231",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "dei_AmendmentDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of changes contained within amended document.",
        "label": "Amendment Description",
        "terseLabel": "Amendment Description"
       }
      }
     },
     "localname": "AmendmentDescription",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period",
        "terseLabel": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.brpm.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "srt_CondensedFinancialStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Financial Statements, Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedFinancialStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedIncomeStatementTable": {
     "auth_ref": [
      "r126",
      "r417",
      "r596"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed income statement including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Income Statement [Table]"
       }
      }
     },
     "localname": "CondensedIncomeStatementTable",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedIncomeStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Income Statements, Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedIncomeStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r126",
      "r249",
      "r254",
      "r260",
      "r419",
      "r420",
      "r423",
      "r424",
      "r479",
      "r588",
      "r595",
      "r597",
      "r598",
      "r599"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by consolidated entity or group of entities.",
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/401KPlan",
      "http://www.brpm.com/role/401KPlanDetails",
      "http://www.brpm.com/role/AccountingPoliciesByPolicy",
      "http://www.brpm.com/role/AccountsPayableandAccruedExpenses",
      "http://www.brpm.com/role/AccountsPayableandAccruedExpensesTables",
      "http://www.brpm.com/role/Commitments",
      "http://www.brpm.com/role/CommitmentsDetails",
      "http://www.brpm.com/role/CommitmentsandContingenciesTables",
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/ConsolidatedIncomeStatement",
      "http://www.brpm.com/role/Debt",
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/DebtTables",
      "http://www.brpm.com/role/DescriptionoftheBusiness",
      "http://www.brpm.com/role/GoingConcern",
      "http://www.brpm.com/role/GoingConcernDetails",
      "http://www.brpm.com/role/IncomeTaxes",
      "http://www.brpm.com/role/IncomeTaxesDetails",
      "http://www.brpm.com/role/IncomeTaxesTables",
      "http://www.brpm.com/role/IntangiblesAssets",
      "http://www.brpm.com/role/IntangiblesAssetsDetails",
      "http://www.brpm.com/role/IntangiblesAssetsTables",
      "http://www.brpm.com/role/Litigation",
      "http://www.brpm.com/role/LitigationDetails",
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovements",
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsDetails",
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsTables",
      "http://www.brpm.com/role/RelatedPartyTransactions",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable",
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable",
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable",
      "http://www.brpm.com/role/ScheduleofdebtTable",
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable",
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable",
      "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable",
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable",
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable",
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable",
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable",
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable",
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable",
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable",
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable",
      "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable",
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrants",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables",
      "http://www.brpm.com/role/StockholdersEquity",
      "http://www.brpm.com/role/StockholdersEquityDetails",
      "http://www.brpm.com/role/SubsequentEvents",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPolicies",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r126",
      "r249",
      "r254",
      "r260",
      "r419",
      "r420",
      "r423",
      "r424",
      "r479",
      "r588",
      "r595",
      "r597",
      "r598",
      "r599"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity or group of entities consolidated into reporting entity.",
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy",
      "http://www.brpm.com/role/Commitments",
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/ConsolidatedIncomeStatement",
      "http://www.brpm.com/role/IncomeTaxes",
      "http://www.brpm.com/role/IncomeTaxesDetails",
      "http://www.brpm.com/role/IncomeTaxesTables",
      "http://www.brpm.com/role/RelatedPartyTransactions",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockholdersEquity",
      "http://www.brpm.com/role/StockholdersEquityDetails",
      "http://www.brpm.com/role/SubsequentEvents",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPolicies",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r201",
      "r314",
      "r318",
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name or description of a single external customer or a group of external customers.",
        "label": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r265",
      "r294",
      "r333",
      "r334",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r498",
      "r561",
      "r564",
      "r589",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r265",
      "r294",
      "r333",
      "r334",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r498",
      "r561",
      "r564",
      "r589",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r201",
      "r314",
      "r318",
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Single external customer or group of external customers.",
        "label": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r199",
      "r314",
      "r317",
      "r502",
      "r560",
      "r562"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by product and service, or group of similar products and similar services.",
        "label": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r199",
      "r314",
      "r317",
      "r502",
      "r560",
      "r562"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product or service, or a group of similar products or similar services.",
        "label": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r265",
      "r294",
      "r319",
      "r333",
      "r334",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r498",
      "r561",
      "r564",
      "r589",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r265",
      "r294",
      "r319",
      "r333",
      "r334",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r498",
      "r561",
      "r564",
      "r589",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAdjustmentMember": {
     "auth_ref": [
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r134",
      "r136",
      "r138",
      "r139",
      "r141",
      "r142",
      "r156",
      "r438",
      "r439"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative increase (decrease) for adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period, Adjustment [Member]",
        "terseLabel": "Revision adjustments [Member]"
       }
      }
     },
     "localname": "RestatementAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r1",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r138",
      "r139",
      "r140",
      "r141",
      "r142",
      "r143",
      "r156",
      "r216",
      "r217",
      "r375",
      "r404",
      "r437",
      "r438",
      "r439",
      "r440",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r605",
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RevisionOfPriorPeriodReclassificationAdjustmentMember": {
     "auth_ref": [
      "r2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative increase (decrease) to previously issued financial statements for reclassification. Excludes adjustment for reclassification from amendment to accounting standards.",
        "label": "Revision of Prior Period, Reclassification, Adjustment [Member]",
        "terseLabel": "As revised [Member]"
       }
      }
     },
     "localname": "RevisionOfPriorPeriodReclassificationAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioPreviouslyReportedMember": {
     "auth_ref": [
      "r1",
      "r128",
      "r130",
      "r131",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r138",
      "r139",
      "r141",
      "r142",
      "r156",
      "r216",
      "r217",
      "r375",
      "r404",
      "r437",
      "r438",
      "r439",
      "r440",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r605",
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount as previously reported before adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Previously Reported [Member]",
        "terseLabel": "As Previously reported [Member]"
       }
      }
     },
     "localname": "ScenarioPreviouslyReportedMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfCondensedBalanceSheetTableTextBlock": {
     "auth_ref": [
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet [Table Text Block]",
        "terseLabel": "Schedule of balance sheet are reconciled"
       }
      }
     },
     "localname": "ScheduleOfCondensedBalanceSheetTableTextBlock",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfCondensedFinancialStatementsTable": {
     "auth_ref": [
      "r126",
      "r417",
      "r596",
      "r601",
      "r602",
      "r603"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed financial statements, including, but not limited to, the balance sheet, income statement, and statement of cash flows.",
        "label": "Condensed Financial Statements [Table]"
       }
      }
     },
     "localname": "ScheduleOfCondensedFinancialStatementsTable",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ScheduleOfCondensedFinancialStatementsTableTextBlock": {
     "auth_ref": [
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed financial statements, including, but not limited to, the balance sheet, income statement, and statement of cash flows.",
        "label": "Condensed Financial Statements [Table Text Block]",
        "terseLabel": "Schedule of financial statements"
       }
      }
     },
     "localname": "ScheduleOfCondensedFinancialStatementsTableTextBlock",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfCondensedIncomeStatementTableTextBlock": {
     "auth_ref": [
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed income statement, including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Income Statement [Table Text Block]",
        "terseLabel": "Schedule of consolidated statement of operations"
       }
      }
     },
     "localname": "ScheduleOfCondensedIncomeStatementTableTextBlock",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock": {
     "auth_ref": [
      "r51"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for accounts payable and accrued liabilities at the end of the reporting period.",
        "label": "Accounts Payable and Accrued Liabilities Disclosure [Text Block]",
        "terseLabel": "ACCOUNTS PAYABLE AND ACCRUED EXPENSES"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountsPayableandAccruedExpenses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsPayableAndOtherAccruedLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred and payable to vendors for goods and services received, and accrued liabilities classified as other.",
        "label": "Accounts Payable and Other Accrued Liabilities",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "AccountsPayableAndOtherAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r527",
      "r554"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.",
        "label": "Accounts Payable",
        "terseLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "AccountsPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableMember": {
     "auth_ref": [
      "r18"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Obligations incurred and payable to vendors for goods and services received.",
        "label": "Accounts Payable [Member]",
        "terseLabel": "Accounts Payable [Member]"
       }
      }
     },
     "localname": "AccountsPayableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsPayableRelatedPartiesCurrent": {
     "auth_ref": [
      "r50",
      "r124",
      "r475",
      "r476"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount for accounts payable to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable, Related Parties, Current",
        "terseLabel": "Total accounts payable and accrued expenses"
       }
      }
     },
     "localname": "AccountsPayableRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableMember": {
     "auth_ref": [
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due from customers or clients for goods or services that have been delivered or sold.",
        "label": "Accounts Receivable [Member]",
        "terseLabel": "Accounts Receivable [Member]"
       }
      }
     },
     "localname": "AccountsReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r8",
      "r33",
      "r202",
      "r203"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Accounts receivable, net"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableRelatedParties": {
     "auth_ref": [
      "r32",
      "r124",
      "r474",
      "r476",
      "r550"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amount of receivables arising from transactions with related parties.",
        "label": "Accounts Receivable, Related Parties",
        "terseLabel": "Accounts receivables"
       }
      }
     },
     "localname": "AccountsReceivableRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesAndOtherLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other.",
        "label": "Accrued Liabilities and Other Liabilities",
        "terseLabel": "Accrued legal settlements"
       }
      }
     },
     "localname": "AccruedLiabilitiesAndOtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedProfessionalFeesCurrentAndNoncurrent": {
     "auth_ref": [
      "r527",
      "r554"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for professional fees, such as for legal and accounting services received.",
        "label": "Accrued Professional Fees",
        "terseLabel": "Accrued transaction costs"
       }
      }
     },
     "localname": "AccruedProfessionalFeesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r46",
      "r239"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Less: Accumulated depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r34",
      "r375",
      "r483"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r128",
      "r129",
      "r130",
      "r372",
      "r373",
      "r374",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-In Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation": {
     "auth_ref": [
      "r306",
      "r308",
      "r379"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in additional paid in capital (APIC) resulting from a tax benefit associated with share-based compensation plan other than an employee stock ownership plan (ESOP). Includes, but is not limited to, excess tax benefit.",
        "label": "Adjustments to Additional Paid in Capital, Income Tax Benefit from Share-based Compensation",
        "terseLabel": "Tax benefit realized from stock options exercised"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued": {
     "auth_ref": [
      "r262",
      "r306",
      "r308"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants.",
        "label": "Adjustments to Additional Paid in Capital, Warrant Issued",
        "terseLabel": "Issuance of common stock warrants"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalWarrantIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net loss to net cash used in operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdministrativeFeesExpense": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for administrative services provided to the limited liability company (LLC) or limited partnership (LP) by the managing member or general partner, affiliate of managing member or general partner, or affiliate of LLC or LP, for example, but not limited to, salaries, rent, or overhead costs.",
        "label": "Administrative Fees Expense",
        "terseLabel": "Advance of administrative fees"
       }
      }
     },
     "localname": "AdministrativeFeesExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdvertisingExpense": {
     "auth_ref": [
      "r381"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line.",
        "label": "Advertising Expense",
        "terseLabel": "Expenses advertising costs"
       }
      }
     },
     "localname": "AdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r338",
      "r367",
      "r377"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Compensation cost"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsPremiumsAndOtherReceivables": {
     "auth_ref": [
      "r208"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The valuation allowance as of the balance sheet date to reduce the gross amount of receivables to estimated net realizable value, which would be presented in parentheses on the face of the balance sheet.",
        "label": "Allowance for Doubtful Accounts, Premiums and Other Receivables",
        "terseLabel": "Allowance for doubtful accounts"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsPremiumsAndOtherReceivables",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r106",
      "r228",
      "r234"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Total future amortization of amortizable intangible assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedfutureamortizationofintangibleassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r120",
      "r180",
      "r190",
      "r197",
      "r214",
      "r249",
      "r250",
      "r251",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r419",
      "r423",
      "r450",
      "r481",
      "r483",
      "r518",
      "r541"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets",
        "verboseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r10",
      "r12",
      "r64",
      "r120",
      "r214",
      "r249",
      "r250",
      "r251",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r419",
      "r423",
      "r450",
      "r481",
      "r483"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "Current assets:",
        "verboseLabel": "Current Assets:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsHeldInTrust": {
     "auth_ref": [
      "r116"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of cash and securities held by third party trustees pursuant to terms of debt instruments or other agreements as of the date of each statement of financial position presented, which can be used by the trustee only to pay the noncurrent portion of specified obligations.",
        "label": "Assets Held-in-trust",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsHeldInTrust",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsHeldInTrustCurrent": {
     "auth_ref": [
      "r116"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash, securities, or other assets held by a third-party trustee pursuant to the terms of an agreement which assets are available to be used by beneficiaries to that agreement only within the specific terms thereof and which agreement is expected to terminate within one year of the balance sheet date (or operating cycle, if longer) at which time the assets held-in-trust will be released or forfeited.",
        "label": "Assets Held-in-trust, Current",
        "terseLabel": "Cash held in Trust Account"
       }
      }
     },
     "localname": "AssetsHeldInTrustCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsHeldInTrustNoncurrent": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash, securities, or other assets held by a third-party trustee pursuant to the terms of an agreement which assets are available to be used by beneficiaries to that agreement only within the specific terms thereof and which agreement is expected to terminate more than one year from the balance sheet date (or operating cycle, if longer) at which time the assets held-in-trust will be released or forfeited.",
        "label": "Assets Held-in-trust, Noncurrent",
        "terseLabel": "Cash held in Trust Account",
        "verboseLabel": "Investments held in trust account"
       }
      }
     },
     "localname": "AssetsHeldInTrustNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardDateAxis": {
     "auth_ref": [
      "r339",
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by date or year award under share-based payment arrangement is granted.",
        "label": "Award Date [Axis]"
       }
      }
     },
     "localname": "AwardDateAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardDateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date or year award under share-based payment arrangement is granted.",
        "label": "Award Date [Domain]"
       }
      }
     },
     "localname": "AwardDateDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r339",
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r432",
      "r434"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r127"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Basis of Presentation and Significant Accounting Policies [Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BridgeLoan": {
     "auth_ref": [
      "r23",
      "r519",
      "r543"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short-Term financing which is expected to be paid back relatively quickly, such as by a subsequent longer-term loan. Also called swing loan or bridge financing.",
        "label": "Bridge Loan",
        "terseLabel": "Loan amount"
       }
      }
     },
     "localname": "BridgeLoan",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r416"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable).",
        "label": "Business Combination Disclosure [Text Block]",
        "terseLabel": "PROPOSED BUSINESS COMBINATION"
       }
      }
     },
     "localname": "BusinessCombinationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombination"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combinations [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessDescriptionAndAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r127",
      "r173"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the business description and accounting policies concepts.  Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity. Accounting policies describe all significant accounting policies of the reporting entity.",
        "label": "Business Description and Accounting Policies [Text Block]",
        "terseLabel": "DESCRIPTION OF THE BUSINESS"
       }
      }
     },
     "localname": "BusinessDescriptionAndAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DescriptionoftheBusiness"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CapitalUnitsNetAmount": {
     "auth_ref": [
      "r582"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net amount applicable to investors of capital units or shares.",
        "label": "Capital Units, Net Amount",
        "terseLabel": "Alleged funding amount"
       }
      }
     },
     "localname": "CapitalUnitsNetAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Cash": {
     "auth_ref": [
      "r42",
      "r483",
      "r578",
      "r579"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash",
        "periodEndLabel": "Cash, end of period",
        "periodStartLabel": "Cash, beginning of year",
        "terseLabel": "Combination of cash and common stock"
       }
      }
     },
     "localname": "Cash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r6",
      "r42",
      "r108"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r20",
      "r109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r20",
      "r109",
      "r517"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's cash and cash equivalents accounting policy with respect to restricted balances.  Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
        "label": "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r100",
      "r108",
      "r111"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "terseLabel": "Cash and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r100",
      "r453"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "Increase in cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r118",
      "r120",
      "r146",
      "r147",
      "r148",
      "r151",
      "r153",
      "r160",
      "r161",
      "r162",
      "r214",
      "r249",
      "r254",
      "r255",
      "r256",
      "r260",
      "r261",
      "r292",
      "r293",
      "r296",
      "r300",
      "r450",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockholdersEquityDetails",
      "http://www.brpm.com/role/WarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "auth_ref": [
      "r307"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Exercise Price of Warrants or Rights",
        "terseLabel": "Price per share"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/WarrantsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ClassOfWarrantOrRightOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Outstanding",
        "terseLabel": "Common shares issues for outstanding warrants (in Shares)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightReasonForIssuingToNonemployees": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of reason for issuing warrant or right.",
        "label": "Warrant or Right, Reason for Issuance, Description",
        "terseLabel": "Warrants description"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightReasonForIssuingToNonemployees",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r59",
      "r247",
      "r528",
      "r552"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r244",
      "r245",
      "r246",
      "r248",
      "r584"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "COMMITMENTS"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/Commitments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification of common stock representing ownership interest in a corporation.",
        "label": "Class A Common Stock [Member]",
        "netLabel": "Common Class A [Member]",
        "terseLabel": "Class A Common Stock",
        "verboseLabel": "Class A"
       }
      }
     },
     "localname": "CommonClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockholdersEquityDetails",
      "http://www.brpm.com/role/WarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification of common stock that has different rights than Common Class A, representing ownership interest in a corporation.",
        "label": "Common Class B [Member]",
        "netLabel": "Class B Common Stock [Member]",
        "terseLabel": "Class B Common Stock",
        "verboseLabel": "Class B"
       }
      }
     },
     "localname": "CommonClassBMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r128",
      "r129",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock",
        "verboseLabel": "Common Stock [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockNoParValue": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount per share of no-par value common stock.",
        "label": "Common Stock, No Par Value",
        "terseLabel": "Common stock per share (in Dollars per share)"
       }
      }
     },
     "localname": "CommonStockNoParValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "netLabel": "Common stock, per share (in Dollars per share)",
        "terseLabel": "Common stock, par value (in Dollars per share)",
        "verboseLabel": "Public share par value (in Dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r31",
      "r306"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r31",
      "r483"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Class A Common stock, $0.0001 par value; 100,000,000 shares authorized; 520,000 shares issued and outstanding as of December 31, 2021 and none issued and outstanding at December 31, 2020 (excluding 17,250,000 subject to redemption)",
        "verboseLabel": "Common stock value issued"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonStockVotingRights": {
     "auth_ref": [
      "r307"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of voting rights of common stock. Includes eligibility to vote and votes per share owned. Include also, if any, unusual voting rights.",
        "label": "Common Stock, Voting Rights",
        "terseLabel": "Common stock voting rights"
       }
      }
     },
     "localname": "CommonStockVotingRights",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComputerEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long lived, depreciable assets that are used in the creation, maintenance and utilization of information systems.",
        "label": "Computer Equipment [Member]",
        "terseLabel": "Computer equipment [Member]"
       }
      }
     },
     "localname": "ComputerEquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable",
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r168",
      "r169",
      "r201",
      "r448",
      "r449",
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r168",
      "r169",
      "r201",
      "r448",
      "r449",
      "r576",
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskCreditRisk": {
     "auth_ref": [
      "r165",
      "r538"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for credit risk.",
        "label": "Concentration Risk, Credit Risk, Policy [Policy Text Block]",
        "terseLabel": "Concentration of Credit Risk"
       }
      }
     },
     "localname": "ConcentrationRiskCreditRisk",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerAssetGrossCurrent": {
     "auth_ref": [
      "r311",
      "r313"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as current.",
        "label": "Contract with Customer, Asset, before Allowance for Credit Loss, Current",
        "terseLabel": "Contract assets"
       }
      }
     },
     "localname": "ContractWithCustomerAssetGrossCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityCurrent": {
     "auth_ref": [
      "r311",
      "r312",
      "r315"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Contract with Customer, Liability, Current",
        "terseLabel": "Contract liabilities"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityRevenueRecognized": {
     "auth_ref": [
      "r316"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due.",
        "label": "Contract with Customer, Liability, Revenue Recognized",
        "terseLabel": "Contract liability"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityRevenueRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleNotesPayable": {
     "auth_ref": [
      "r26",
      "r523",
      "r544",
      "r580"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder.",
        "label": "Convertible Notes Payable",
        "terseLabel": "Promissory notes"
       }
      }
     },
     "localname": "ConvertibleNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleNotesPayableCurrent": {
     "auth_ref": [
      "r55"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of the portion of long-term debt due within one year or the operating cycle if longer identified as Convertible Notes Payable. Convertible Notes Payable is a written promise to pay a note which can be exchanged for a specified amount of another, related security, at the option of the issuer and the holder.",
        "label": "Convertible Notes Payable, Current",
        "terseLabel": "Convertible promissory notes"
       }
      }
     },
     "localname": "ConvertibleNotesPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleSubordinatedDebtNoncurrent": {
     "auth_ref": [
      "r58"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of the carrying value of convertible subordinated debt as of the balance sheet date that is scheduled to be repaid after one year or beyond the normal operating cycle if longer. This form of debt can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder, and places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets.",
        "label": "Convertible Subordinated Debt, Noncurrent",
        "terseLabel": "Investors total"
       }
      }
     },
     "localname": "ConvertibleSubordinatedDebtNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfRevenue": {
     "auth_ref": [
      "r83",
      "r120",
      "r214",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r450"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period.",
        "label": "Cost of Revenue",
        "terseLabel": "Cost of revenues"
       }
      }
     },
     "localname": "CostOfRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing cost of sales.",
        "label": "Cost of Sales [Member]",
        "terseLabel": "Cost of Revenues [Member]"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "auth_ref": [
      "r121",
      "r400",
      "r407"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current federal tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current Federal Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "CurrentFederalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoftheincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CustomerFunds": {
     "auth_ref": [
      "r47"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of amounts received from and refundable to customers unless used by them to obtain goods and services from the entity.",
        "label": "Customer Funds",
        "terseLabel": "Customer returns"
       }
      }
     },
     "localname": "CustomerFunds",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDefaultLongtermDebtAmount": {
     "auth_ref": [
      "r117"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of outstanding long-term debt or borrowing associated with any securities or credit agreement for which there has been a default in principal, interest, sinking fund, or redemption provisions, or any breach of covenant that existed at the end of the period and subsequently has not been cured.",
        "label": "Debt Instrument, Debt Default, Amount",
        "terseLabel": "Gross proceeds"
       }
      }
     },
     "localname": "DebtDefaultLongtermDebtAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r117",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r274",
      "r276",
      "r277",
      "r278",
      "r285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "DEBT"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/Debt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r26",
      "r279",
      "r523",
      "r540"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-term Debt, Gross",
        "terseLabel": "Total principal amount outstanding"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentConvertibleIfConvertedValueInExcessOfPrincipal": {
     "auth_ref": [
      "r280"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount by which the convertible debt's if-converted value exceeds its principle amount at the balance sheet date, regardless of whether the instrument is currently convertible. This element applies to public companies only.",
        "label": "Debt Instrument, Convertible, If-converted Value in Excess of Principal",
        "terseLabel": "Enterprise value"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleIfConvertedValueInExcessOfPrincipal",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum percentage of common stock price to conversion price of convertible debt instruments to determine eligibility of conversion.",
        "label": "Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger",
        "terseLabel": "Conversion price, percentage"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r263",
      "r281",
      "r282",
      "r463",
      "r465",
      "r466"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Aggregate principal amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r57",
      "r264"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest rate",
        "verboseLabel": "Interest accrued, percentage"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestWriteoff": {
     "auth_ref": [
      "r219"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of writeoff 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), recognized by reversing interest income.",
        "label": "Debt Securities, Available-for-Sale, Accrued Interest Writeoff",
        "terseLabel": "Accrued amount"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleAccruedInterestWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredChargesPolicyTextBlock": {
     "auth_ref": [
      "r47"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for deferral and amortization of significant deferred charges.",
        "label": "Deferred Charges, Policy [Policy Text Block]",
        "terseLabel": "Deferred Offering Costs"
       }
      }
     },
     "localname": "DeferredChargesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r121",
      "r401",
      "r407"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred federal income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Federal Income Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoftheincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r106",
      "r121",
      "r401",
      "r407",
      "r408",
      "r409"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "terseLabel": "Total benefit"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoftheincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r27",
      "r28",
      "r391",
      "r522",
      "r539"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "negatedLabel": "Total deferred income tax liabilities"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredOfferingCosts": {
     "auth_ref": [
      "r63",
      "r225"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Specific incremental costs directly attributable to a proposed or actual offering of securities which are deferred at the end of the reporting period.",
        "label": "Deferred Offering Costs",
        "terseLabel": "Deferred Offering costs",
        "verboseLabel": "Deferred offering costs"
       }
      }
     },
     "localname": "DeferredOfferingCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsDeferredIncome": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from deferred income.",
        "label": "Deferred Tax Assets, Deferred Income",
        "terseLabel": "Deferred revenue"
       }
      }
     },
     "localname": "DeferredTaxAssetsDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r392"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "terseLabel": "Total deferred tax assets",
        "verboseLabel": "Total deferred income tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetTable",
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "auth_ref": [
      "r394"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting.",
        "label": "Deferred Tax Assets, Net",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r394"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoftheincometaxprovisionTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards.",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforward"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
        "label": "Deferred Tax Assets, Other",
        "terseLabel": "Net operating losses"
       }
      }
     },
     "localname": "DeferredTaxAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOtherTaxCarryforwards": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible tax carryforwards, classified as other.",
        "label": "Deferred Tax Assets, Other Tax Carryforwards",
        "terseLabel": "Contributions"
       }
      }
     },
     "localname": "DeferredTaxAssetsOtherTaxCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from property, plant, and equipment.",
        "label": "Deferred Tax Assets, Property, Plant and Equipment",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "DeferredTaxAssetsPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Share-based Compensation Cost",
        "terseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from accrued liabilities.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Accrued Liabilities",
        "terseLabel": "Accrued liabilities and other",
        "verboseLabel": "Accrued bonus"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetTable",
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsDeferredRent": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from deferred rent.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Deferred Rent",
        "terseLabel": "Deferred rent"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsDeferredRent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences from reserves and accruals, classified as other.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Other",
        "terseLabel": "Accrual to cash"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r393"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Less: valuation allowance",
        "terseLabel": "Net deferred tax asset"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetTable",
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxExpenseFromStockOptionsExercised": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax expense from write-off of the deferred tax asset related to deductible stock options at exercise.",
        "label": "Deferred Tax Expense from Stock Options Exercised",
        "terseLabel": "Stock options"
       }
      }
     },
     "localname": "DeferredTaxExpenseFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r384",
      "r394"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities, Net",
        "terseLabel": "Total deferred tax assets, net"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesOther": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences classified as other.",
        "label": "Deferred Tax Liabilities, Other",
        "terseLabel": "Amortization"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment.",
        "label": "Deferred Tax Liabilities, Property, Plant and Equipment",
        "negatedLabel": "Depreciation"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdeferredtaxassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanGovernmentsRightsToPlanAssetsInEventOfPlanTerminationAmount": {
     "auth_ref": [
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess plan assets subject to government rights in event of plan termination.",
        "label": "Defined Benefit Plan, Government's Rights to Plan Assets in Event of Plan Termination, Amount",
        "terseLabel": "Contributions amount"
       }
      }
     },
     "localname": "DefinedBenefitPlanGovernmentsRightsToPlanAssetsInEventOfPlanTerminationAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/401KPlanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsWithOtherFederalHomeLoanBanks": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest-bearing funds deposited into another Federal Home Loan Banks (FHLBanks).",
        "label": "Deposits with Other Federal Home Loan Banks",
        "terseLabel": "Federal Depository insurance coverage"
       }
      }
     },
     "localname": "DepositsWithOtherFederalHomeLoanBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r106",
      "r237"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation expense"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAndAmortization": {
     "auth_ref": [
      "r106",
      "r237"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production.",
        "label": "Depreciation, Depletion and Amortization, Nonproduction",
        "terseLabel": "Depreciation &amp; amortization expense"
       }
      }
     },
     "localname": "DepreciationAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r65",
      "r68",
      "r69",
      "r433",
      "r496"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Fair Value, Gross Liability",
        "periodEndLabel": "Warrant liability at December 31,2021",
        "periodStartLabel": "Warrant liability at January 1, 2021"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/Scheduleofchangeinfairvalueoflevel3warrantliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate related to the interest rate derivative.",
        "label": "Derivative, Fixed Interest Rate",
        "terseLabel": "Bear interest rate"
       }
      }
     },
     "localname": "DerivativeFixedInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r66",
      "r67",
      "r68",
      "r447"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "terseLabel": "Warrant liability"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeRemainingMaturity1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period remaining until the derivative contract matures, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Derivative, Remaining Maturity",
        "terseLabel": "Loan matures"
       }
      }
     },
     "localname": "DerivativeRemainingMaturity1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r125",
      "r428",
      "r429",
      "r430",
      "r431",
      "r435"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Warrant Liability"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]",
        "terseLabel": "STOCK COMPENSATION EXPENSE AND WARRANTS"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrants"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DueToAffiliateCurrentAndNoncurrent": {
     "auth_ref": [
      "r474",
      "r480",
      "r525",
      "r555",
      "r581"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership.",
        "label": "Due to Affiliate",
        "terseLabel": "Office space for per month"
       }
      }
     },
     "localname": "DueToAffiliateCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r50",
      "r124",
      "r252",
      "r254",
      "r255",
      "r259",
      "r260",
      "r261",
      "r474"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Related Parties, Current",
        "terseLabel": "Due to related party"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r124",
      "r252",
      "r254",
      "r255",
      "r259",
      "r260",
      "r261",
      "r474",
      "r526",
      "r555"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties.",
        "label": "Due to Related Parties",
        "terseLabel": "Administrative fees payable"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Net loss per ordinary share:"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r79",
      "r133",
      "r134",
      "r136",
      "r137",
      "r138",
      "r144",
      "r146",
      "r151",
      "r152",
      "r153",
      "r156",
      "r157",
      "r439",
      "r440",
      "r531",
      "r557"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic and diluted net loss per share of redeemable common stock"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareBasicAndDiluted": {
     "auth_ref": [
      "r152"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements.  Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period.  Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic and Diluted",
        "terseLabel": "Net loss per common share \u2013 basic and diluted (in Dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r154",
      "r155"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Loss Per Common Share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "terseLabel": "Effective income tax rate",
        "verboseLabel": "Income tax expense"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationoftheCompanyseffectiveincometaxrateTable",
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r122",
      "r386",
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "Benefit for income taxes at federal statutory rate",
        "verboseLabel": "U.S. federal statutory income tax rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationoftheCompanyseffectiveincometaxrateTable",
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r386",
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the valuation allowance for deferred tax assets.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Percent",
        "terseLabel": "Valuation allowance"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationoftheCompanyseffectiveincometaxrateTable",
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate": {
     "auth_ref": [
      "r386",
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the income tax rates.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Percent",
        "terseLabel": "Change in fair value of warrants"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationoftheCompanyseffectiveincometaxrateTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense": {
     "auth_ref": [
      "r386",
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Percent",
        "terseLabel": "Non-deductible interest expense"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther": {
     "auth_ref": [
      "r386",
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Other, Percent",
        "terseLabel": "Transaction costs not tax deductible",
        "verboseLabel": "Other non-deductible items"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationoftheCompanyseffectiveincometaxrateTable",
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r386",
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to state and local income tax expense (benefit), net of federal tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent",
        "terseLabel": "State taxes, net of federal benefit"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingenciesOther": {
     "auth_ref": [
      "r386",
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other income tax contingencies.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Contingency, Other, Percent",
        "terseLabel": "Offering costs associated with warrants recorded as a liability"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTaxContingenciesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationoftheCompanyseffectiveincometaxrateTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r369"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized stock-based compensation"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r369"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Recognized over weighted-average period"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r73",
      "r74",
      "r75",
      "r128",
      "r129",
      "r130",
      "r132",
      "r139",
      "r142",
      "r159",
      "r215",
      "r306",
      "r308",
      "r372",
      "r373",
      "r374",
      "r403",
      "r404",
      "r438",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r565",
      "r566",
      "r567",
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockholdersEquityDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Equity percentage"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities": {
     "auth_ref": [
      "r378"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.",
        "label": "Excess Tax Benefit from Share-based Compensation, Financing Activities",
        "terseLabel": "Tax benefit related to stock based compensation expense"
       }
      }
     },
     "localname": "ExcessTaxBenefitFromShareBasedCompensationFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAdjustmentOfWarrants": {
     "auth_ref": [
      "r106",
      "r286"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of warrant liability.",
        "label": "Fair Value Adjustment of Warrants",
        "terseLabel": "Change in fair value of warrant liability"
       }
      }
     },
     "localname": "FairValueAdjustmentOfWarrants",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/Scheduleofchangeinfairvalueoflevel3warrantliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r273",
      "r281",
      "r282",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r332",
      "r442",
      "r487",
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "RECURRING FAIR VALUE MEASUREMENTS"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RecurringFairValueMeasurements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r273",
      "r320",
      "r321",
      "r326",
      "r332",
      "r442",
      "r487"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Quoted Prices In Active Markets (Level 1) [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r273",
      "r281",
      "r282",
      "r320",
      "r321",
      "r326",
      "r332",
      "r442",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Significant Other Observable Inputs (Level 2) [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r273",
      "r281",
      "r282",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r332",
      "r442",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Significant Other Observable Inputs (Level 3) [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r273",
      "r281",
      "r282",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r332",
      "r487",
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueassetsandliabilitiesmeasuredonrecurringbasisTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r445",
      "r446"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FederalIncomeTaxNoteTextBlock": {
     "auth_ref": [
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the federal tax basis of investment holdings.  This item captures the aggregate cost of securities, aggregate gross unrealized appreciation for all securities in which there is an excess of value over tax cost, aggregate gross unrealized depreciation for all securities in which there is an excess of tax cost over value, net unrealized appreciation (depreciation), and an explanation of the differences between tax and book.",
        "label": "Federal Income Tax Note [Table Text Block]",
        "terseLabel": "Schedule of the income tax provision"
       }
      }
     },
     "localname": "FederalIncomeTaxNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r233"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "terseLabel": "Accumulated Amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r229",
      "r230",
      "r233",
      "r235",
      "r503",
      "r504"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable",
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r233",
      "r504"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Gross Carrying Value"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r229",
      "r232"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r233",
      "r503"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "terseLabel": "Net Carrying Value"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossRealized": {
     "auth_ref": [
      "r451",
      "r452"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of foreign currency transaction realized gain (loss) recognized in the income statement.",
        "label": "Foreign Currency Transaction Gain (Loss), Realized",
        "terseLabel": "Foreign currency transaction losses"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossRealized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r461"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Foreign Currency"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture and Fixtures [Member]",
        "terseLabel": "Furniture/Fixtures [Member]"
       }
      }
     },
     "localname": "FurnitureAndFixturesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable",
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "terseLabel": "General and administrative"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r236"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "INTANGIBLES ASSETS"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GranteeStatusAxis": {
     "auth_ref": [
      "r335",
      "r336",
      "r366"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by status of recipient to whom award is granted.",
        "label": "Grantee Status [Axis]"
       }
      }
     },
     "localname": "GranteeStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GrossProfit": {
     "auth_ref": [
      "r81",
      "r120",
      "r180",
      "r189",
      "r193",
      "r196",
      "r198",
      "r214",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r450"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
        "label": "Gross Profit",
        "terseLabel": "Gross profit",
        "totalLabel": "Gross profit"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement",
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IPOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First sale of stock by a private company to the public.",
        "label": "IPO [Member]",
        "terseLabel": "Public Offering [Member]"
       }
      }
     },
     "localname": "IPOMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r241",
      "r243"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r243"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r122",
      "r387",
      "r389",
      "r396",
      "r405",
      "r411",
      "r413",
      "r414",
      "r415"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "INCOME TAXES"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r123",
      "r141",
      "r142",
      "r179",
      "r385",
      "r406",
      "r412",
      "r558"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "Total provision for income taxes",
        "verboseLabel": "Income tax expense (in Dollars)"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoftheincometaxprovisionTable",
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r72",
      "r382",
      "r383",
      "r389",
      "r390",
      "r395",
      "r402"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r386"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount",
        "terseLabel": "Valuation allowance (in Dollars)"
       }
      }
     },
     "localname": "IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r386"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
        "terseLabel": "U.S. federal statutory income tax rate (in Dollars)"
       }
      }
     },
     "localname": "IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationNondeductibleExpense": {
     "auth_ref": [
      "r386"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount",
        "terseLabel": "Non-deductible interest expense (in Dollars)"
       }
      }
     },
     "localname": "IncomeTaxReconciliationNondeductibleExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther": {
     "auth_ref": [
      "r386"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Other, Amount",
        "terseLabel": "Other non-deductible items (in Dollars)"
       }
      }
     },
     "localname": "IncomeTaxReconciliationNondeductibleExpenseOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r386"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Amount",
        "terseLabel": "State taxes, net of federal benefit (in Dollars)"
       }
      }
     },
     "localname": "IncomeTaxReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofthestatutorytaxratesandtheeffectivetaxratesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r102",
      "r110"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
        "label": "Income Taxes Paid",
        "terseLabel": "Taxes paid"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Increase in accounts payable and accrued expenses"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Receivable",
        "negatedLabel": "Accounts receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInContractWithCustomerLiability": {
     "auth_ref": [
      "r105",
      "r499"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in obligation to transfer good or service to customer for which consideration has been received or is receivable.",
        "label": "Increase (Decrease) in Contract with Customer, Liability",
        "terseLabel": "Contract liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInContractWithCustomerLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of obligations to be paid to the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entities' management; an entity and its principal owners, management, or member of their immediate families, affiliates, or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Due to Related Parties, Current",
        "terseLabel": "Increase in due to related party"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.",
        "label": "Increase (Decrease) in Inventories",
        "negatedLabel": "Inventory"
       }
      }
     },
     "localname": "IncreaseDecreaseInInventories",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherCurrentLiabilities": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in current liabilities classified as other.",
        "label": "Increase (Decrease) in Other Current Liabilities",
        "terseLabel": "Other current liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherCurrentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "negatedLabel": "Prepaid expenses and other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r227",
      "r231"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "terseLabel": "Content asset, net"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r76",
      "r178",
      "r462",
      "r464",
      "r534"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherOperatingIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest expense, net"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebtExcludingAmortization": {
     "auth_ref": [
      "r88",
      "r275",
      "r283",
      "r284"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the portion of interest incurred in the period on debt arrangements that was charged against earnings, excluding amortization of debt discount (premium) and financing costs.",
        "label": "Interest Expense, Debt, Excluding Amortization",
        "terseLabel": "Amortization expense"
       }
      }
     },
     "localname": "InterestExpenseDebtExcludingAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r532"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherOperatingIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "negatedLabel": "Other, net"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaid": {
     "auth_ref": [
      "r110"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest Paid, Including Capitalized Interest, Operating and Investing Activities",
        "terseLabel": "Interest paid"
       }
      }
     },
     "localname": "InterestPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntermediateLifePlantsUsefulLife": {
     "auth_ref": [
      "r497"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of intermediate-life plants, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Intermediate-life Plants, Useful Life",
        "terseLabel": "Estimated useful life"
       }
      }
     },
     "localname": "IntermediateLifePlantsUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_InventoryNet": {
     "auth_ref": [
      "r7",
      "r61",
      "r483"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Net",
        "terseLabel": "Inventory"
       }
      }
     },
     "localname": "InventoryNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "auth_ref": [
      "r17",
      "r62",
      "r113",
      "r158",
      "r220",
      "r221",
      "r222",
      "r500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.",
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventory"
       }
      }
     },
     "localname": "InventoryPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentIncomeInterest": {
     "auth_ref": [
      "r86",
      "r177"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherNonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities.",
        "label": "Investment Income, Interest",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InvestmentIncomeInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsAndCash": {
     "auth_ref": [
      "r553"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of investments and unrestricted cash as of the balance sheet date.",
        "label": "Investments and Cash",
        "terseLabel": "Company cash"
       }
      }
     },
     "localname": "InvestmentsAndCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/GoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold improvements [Member]"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r470"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Schedule of long-term debt maturities"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r470"
     ],
     "calculation": {
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "totalLabel": "Total minimum lease payment"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r470"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r470"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r470"
     ],
     "calculation": {
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2023",
        "verboseLabel": "2022"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable",
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r54",
      "r120",
      "r191",
      "r214",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r420",
      "r423",
      "r424",
      "r450",
      "r481",
      "r482"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r39",
      "r120",
      "r214",
      "r450",
      "r483",
      "r524",
      "r549"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and stockholders\u2019 equity (deficit)"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "Liabilities and Stockholders\u2019 Equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r56",
      "r120",
      "r214",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r420",
      "r423",
      "r424",
      "r450",
      "r481",
      "r482",
      "r483"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "Current liabilities:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd": {
     "auth_ref": [
      "r52"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The effective interest rate at the end of the reporting period.",
        "label": "Line of Credit Facility, Interest Rate at Period End",
        "terseLabel": "Equity securities percentage"
       }
      }
     },
     "localname": "LineOfCreditFacilityInterestRateAtPeriodEnd",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LoansAndLeasesReceivableRelatedParties": {
     "auth_ref": [
      "r474",
      "r529"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, reflects the carrying amount of unpaid loan amounts due from related parties at the balance sheet date.",
        "label": "Loans and Leases Receivable, Related Parties",
        "terseLabel": "Loan payables to related parties"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAverageAmountOutstanding": {
     "auth_ref": [
      "r593",
      "r594"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount outstanding of long-term debt.",
        "label": "Long-Term Debt, Average Amount Outstanding",
        "terseLabel": "Outstanding debt"
       }
      }
     },
     "localname": "LongTermDebtAverageAmountOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtNoncurrent": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after unamortized (discount) premium and debt issuance costs of long-term debt classified as noncurrent and excluding amounts to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long-term Debt, Excluding Current Maturities",
        "terseLabel": "Long-term debt, net of discounts (Note 6)",
        "verboseLabel": "Long-term debt, net"
       }
      }
     },
     "localname": "LongTermDebtNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketableSecuritiesPolicy": {
     "auth_ref": [
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment classified as marketable security.",
        "label": "Marketable Securities, Policy [Policy Text Block]",
        "terseLabel": "Cash Held in Trust Account"
       }
      }
     },
     "localname": "MarketableSecuritiesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities:",
        "verboseLabel": "CASH FLOWS FROM FINANCING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used in investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash flows from investing activities:",
        "verboseLabel": "CASH FLOWS FROM INVESTING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r100",
      "r104",
      "r107"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash used in operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities:",
        "verboseLabel": "CASH FLOWS FROM OPERATING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r3",
      "r70",
      "r71",
      "r75",
      "r78",
      "r107",
      "r120",
      "r131",
      "r133",
      "r134",
      "r136",
      "r137",
      "r141",
      "r142",
      "r149",
      "r180",
      "r189",
      "r193",
      "r196",
      "r198",
      "r214",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r440",
      "r450",
      "r530",
      "r556"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net loss",
        "totalLabel": "Net loss"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest": {
     "auth_ref": [
      "r82"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to redeemable noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Redeemable Noncontrolling Interest",
        "terseLabel": "Net loss attributable to redeemable common stock"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToRedeemableNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r133",
      "r134",
      "r136",
      "r137",
      "r144",
      "r145",
      "r150",
      "r153",
      "r180",
      "r189",
      "r193",
      "r196",
      "r198"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "terseLabel": "Net loss attributable to redeemable common stock"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Accounting Pronouncements Recently Adopted"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash Investing and Financing Items [Abstract]",
        "terseLabel": "Supplemental disclosure of noncash investing and financing activities:",
        "verboseLabel": "SUPPLEMENTAL DISCLOSURE FOR NON-CASH INVESTING AND FINANCING ACTIVITIES:"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestExpenseOfferingCost": {
     "auth_ref": [
      "r533"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Includes offering costs of open-end investment companies, and closed-end funds with a continuous offering period.",
        "label": "Noninterest Expense Offering Cost",
        "terseLabel": "Public offering expense"
       }
      }
     },
     "localname": "NoninterestExpenseOfferingCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r26",
      "r523",
      "r545"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer.",
        "label": "Notes Payable",
        "terseLabel": "Note Payable balance",
        "verboseLabel": "Note payable balance"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableRelatedPartiesClassifiedCurrent": {
     "auth_ref": [
      "r48",
      "r124",
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount for notes payable (written promise to pay), due to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Notes Payable, Related Parties, Current",
        "terseLabel": "Borrowing amount"
       }
      }
     },
     "localname": "NotesPayableRelatedPartiesClassifiedCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NumberOfOperatingSegments": {
     "auth_ref": [
      "r174"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.",
        "label": "Number of Operating Segments",
        "terseLabel": "Segment"
       }
      }
     },
     "localname": "NumberOfOperatingSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingCostsAndExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Excludes Selling, General and Administrative Expense.",
        "label": "Operating Costs and Expenses",
        "terseLabel": "Operating costs"
       }
      }
     },
     "localname": "OperatingCostsAndExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "terseLabel": "Advances of operating expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "Operating expenses:"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r180",
      "r189",
      "r193",
      "r196",
      "r198"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "totalLabel": "Loss from operations"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDue": {
     "auth_ref": [
      "r467",
      "r468"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year.",
        "label": "Operating Leases, Future Minimum Payments Due",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears": {
     "auth_ref": [
      "r467",
      "r468"
     ],
     "calculation": {
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable": {
       "order": 4.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fifth 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.",
        "label": "Operating Leases, Future Minimum Payments, Due in Five Years",
        "terseLabel": "2026",
        "verboseLabel": "2025"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable",
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears": {
     "auth_ref": [
      "r467",
      "r468"
     ],
     "calculation": {
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in 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.",
        "label": "Operating Leases, Future Minimum Payments, Due in Four Years",
        "terseLabel": "2025",
        "verboseLabel": "2024"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInFourYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable",
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears": {
     "auth_ref": [
      "r467",
      "r468"
     ],
     "calculation": {
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third 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.",
        "label": "Operating Leases, Future Minimum Payments, Due in Three Years",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter": {
     "auth_ref": [
      "r467",
      "r468"
     ],
     "calculation": {
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable": {
       "order": 5.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due after the fifth 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.",
        "label": "Operating Leases, Future Minimum Payments, Due Thereafter",
        "terseLabel": "Thereafter",
        "verboseLabel": "2026"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueThereafter",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffutureminimumleasepaymentTable",
      "http://www.brpm.com/role/ScheduleoflongtermdebtmaturitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r397"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforwards"
       }
      }
     },
     "localname": "OperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwardsLimitationsOnUse": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A description of the limitations on the use of all operating loss carryforwards available to reduce future taxable income.",
        "label": "Operating Loss Carryforwards, Limitations on Use",
        "terseLabel": "Net operating loss carryforwards, description"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsLimitationsOnUse",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OptionIndexedToIssuersEquityShares": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of shares that could be issued to net share settle a contract, if applicable. If a contract does not have a fixed or determinable maximum number of shares that may be required to be issued, disclose the fact that a potentially infinite number of shares could be issued to settle the contract.",
        "label": "Option Indexed to Issuer's Equity, Shares",
        "terseLabel": "Options net share"
       }
      }
     },
     "localname": "OptionIndexedToIssuersEquityShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r5",
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "ORGANIZATION AND NATURE OF BUSINESS OPERATIONS"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r55"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Accrued Liabilities, Current",
        "terseLabel": "Other accrued expenses"
       }
      }
     },
     "localname": "OtherAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofaccountspayableandaccruedexpensesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r47"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Other long-term assets"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCostOfOperatingRevenue": {
     "auth_ref": [
      "r83"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other costs incurred during the reporting period related to other revenue generating activities.",
        "label": "Other Cost of Operating Revenue",
        "terseLabel": "Cost of revenues"
       }
      }
     },
     "localname": "OtherCostOfOperatingRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherExpenses": {
     "auth_ref": [
      "r85",
      "r559"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense classified as other.",
        "label": "Other Expenses",
        "terseLabel": "Pay dissolution expenses"
       }
      }
     },
     "localname": "OtherExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherIntangibleAssetsNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated amortization of finite-lived and indefinite-lived intangible assets classified as other.",
        "label": "Other Intangible Assets, Net",
        "terseLabel": "Intangible assets, net"
       }
      }
     },
     "localname": "OtherIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesCurrent": {
     "auth_ref": [
      "r13",
      "r14",
      "r55",
      "r483"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Current",
        "terseLabel": "Other current liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLoansPayable": {
     "auth_ref": [
      "r26",
      "r523",
      "r545"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term loans payable classified as other.",
        "label": "Other Loans Payable",
        "terseLabel": "Other loans"
       }
      }
     },
     "localname": "OtherLoansPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncashExpense": {
     "auth_ref": [
      "r107"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense or loss included in net income that result in no cash flow, classified as other.",
        "label": "Other Noncash Expense",
        "terseLabel": "Non-cash interest expense"
       }
      }
     },
     "localname": "OtherNoncashExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r87"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income (Expense)",
        "totalLabel": "Other income (expense):"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Nonoperating Income (Expense) [Abstract]",
        "terseLabel": "Other income (expense):"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherOperatingActivitiesCashFlowStatement": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Other Operating Activities, Cash Flow Statement",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherOperatingActivitiesCashFlowStatement",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherOperatingIncomeExpenseNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of other operating income and expenses, the components of which are not separately disclosed on the income statement, from items that are associated with the entity's normal revenue producing operations.",
        "label": "Other Operating Income (Expense), Net",
        "negatedTotalLabel": "Total other expense:"
       }
      }
     },
     "localname": "OtherOperatingIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherOwnershipInterestsOfferingCosts": {
     "auth_ref": [
      "r309"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of offering costs allocated to the other unit holders.",
        "label": "Other Ownership Interests, Offering Costs",
        "terseLabel": "Public offering costs"
       }
      }
     },
     "localname": "OtherOwnershipInterestsOfferingCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherShortTermBorrowings": {
     "auth_ref": [
      "r49"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowings classified as other, maturing within one year or the normal operating cycle, if longer.",
        "label": "Other Short-term Borrowings",
        "terseLabel": "Borrowing amount"
       }
      }
     },
     "localname": "OtherShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherUnderwritingExpense": {
     "auth_ref": [
      "r559",
      "r575"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs incurred during the period, such as those relating to general administration and policy maintenance that do not vary with and are not primarily related to the acquisition or renewal of insurance contracts.",
        "label": "Other Underwriting Expense",
        "terseLabel": "Deferred underwriting discount"
       }
      }
     },
     "localname": "OtherUnderwritingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OverAllotmentOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right given to the underwriter to sell additional shares over the initial allotment.",
        "label": "Over-Allotment Option [Member]",
        "terseLabel": "Over-allotment option [Member]",
        "verboseLabel": "Over-Allotment Option [Member]"
       }
      }
     },
     "localname": "OverAllotmentOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PayablesAndAccrualsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payables and Accruals [Abstract]"
       }
      }
     },
     "localname": "PayablesAndAccrualsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsForOperatingActivities": {
     "auth_ref": [
      "r101"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total amount of cash paid for operating activities during the current period.",
        "label": "Payments for Operating Activities",
        "terseLabel": "Net cash in operating activities"
       }
      }
     },
     "localname": "PaymentsForOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/GoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash paid (received) associated with the acquisition or disposal of all investments, including securities and other assets.",
        "label": "Payments for (Proceeds from) Investments",
        "negatedLabel": "Proceeds deposited in Trust Account"
       }
      }
     },
     "localname": "PaymentsForProceedsFromInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRent": {
     "auth_ref": [
      "r103"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash payments to lessor's for use of assets under operating leases.",
        "label": "Payments for Rent",
        "terseLabel": "Rent expenses"
       }
      }
     },
     "localname": "PaymentsForRent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/CommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfConvertiblePreferredStock": {
     "auth_ref": [
      "r94"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire preferred stock originally issued and identified as a security that can be exchanged for another type of financial security. This repurchased stock is held in treasury.",
        "label": "Payments for Repurchase of Convertible Preferred Stock",
        "terseLabel": "Convertible preferred stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfConvertiblePreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r96"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments of Debt Issuance Costs",
        "negatedLabel": "Payment of debt issuance costs"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r97"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments of Stock Issuance Costs",
        "negatedLabel": "Payment of offering expenses"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireIntangibleAssets": {
     "auth_ref": [
      "r91"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to acquire asset without physical form usually arising from contractual or other legal rights, excluding goodwill.",
        "label": "Payments to Acquire Intangible Assets",
        "negatedLabel": "Purchase of intangible assets"
       }
      }
     },
     "localname": "PaymentsToAcquireIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireNotesReceivable": {
     "auth_ref": [
      "r90"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to acquire an agreement for an unconditional promise by the maker to pay the entity (holder) a definite sum of money at a future date. Such amount may include accrued interest receivable in accordance with the terms of the note. The note also may contain provisions including a discount or premium, payable on demand, secured, or unsecured, interest bearing or noninterest bearing, among myriad other features and characteristics.",
        "label": "Payments to Acquire Notes Receivable",
        "negatedLabel": "Issuance of note receivable"
       }
      }
     },
     "localname": "PaymentsToAcquireNotesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r91"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchase of property, plant and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r339",
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofequityincentiveplanTable",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r30",
      "r292"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock par value (in Dollars per share)"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r30"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r30",
      "r292"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred Stock, Shares Issued",
        "terseLabel": "Preferred stock, shares issued"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r30"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock, Shares Outstanding",
        "terseLabel": "Preferred stock, shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r30",
      "r483"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock, Value, Issued",
        "terseLabel": "Preferred stock, $0.0001 par value; 1,000,000 shares authorized; none issued and outstanding"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r10",
      "r40",
      "r41"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Current",
        "terseLabel": "Prepaid expenses and other assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseCurrent": {
     "auth_ref": [
      "r9",
      "r11",
      "r223",
      "r224"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense, Current",
        "terseLabel": "Prepaid expenses"
       }
      }
     },
     "localname": "PrepaidExpenseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing prepaid expenses and other current assets.",
        "label": "Prepaid Expenses and Other Current Assets [Member]",
        "terseLabel": "Prepaid Expenses and Other Current Assets [Member]"
       }
      }
     },
     "localname": "PrepaidExpensesAndOtherCurrentAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PrivatePlacementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Private Placement [Member]",
        "terseLabel": "Private Placement Units [Member]"
       }
      }
     },
     "localname": "PrivatePlacementMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromIssuanceInitialPublicOffering": {
     "auth_ref": [
      "r92"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from entity's first offering of stock to the public.",
        "label": "Proceeds from Issuance Initial Public Offering",
        "terseLabel": "Gross proceeds",
        "verboseLabel": "Proceeds of initial public offering"
       }
      }
     },
     "localname": "ProceedsFromIssuanceInitialPublicOffering",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
      "http://www.brpm.com/role/ScheduleofbalancesheetarereconciledTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from issuance of Class A common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt.",
        "label": "Proceeds from Issuance of Debt",
        "terseLabel": "Proceeds from issuance of convertible debt"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfPrivatePlacement": {
     "auth_ref": [
      "r92"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from entity's raising of capital via private rather than public placement.",
        "label": "Proceeds from Issuance of Private Placement",
        "terseLabel": "Proceeds from issuance of private placement units"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfPrivatePlacement",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLoanOriginations1": {
     "auth_ref": [
      "r89"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash inflow associated with loan origination (the process when securing a mortgage for a piece of real property) or lease origination.",
        "label": "Proceeds from Loan Originations",
        "terseLabel": "Purchase of additional units"
       }
      }
     },
     "localname": "ProceedsFromLoanOriginations1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromOtherShortTermDebt": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from short-term debt classified as other.",
        "label": "Proceeds from Other Short-term Debt",
        "terseLabel": "Proceeds from issuance of loans payable"
       }
      }
     },
     "localname": "ProceedsFromOtherShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRelatedPartyDebt": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a long-term borrowing made from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Proceeds from Advances from Affiliates.",
        "label": "Proceeds from Related Party Debt",
        "terseLabel": "Proceeds from note payable \u2013 related party",
        "verboseLabel": "Note payable due to related party"
       }
      }
     },
     "localname": "ProceedsFromRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfTrustAssetsToPayExpenses": {
     "auth_ref": [
      "r98"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflows from the sale of trust assets to pay trust expenses.",
        "label": "Proceeds from Sale of Trust Assets to Pay Expenses",
        "terseLabel": "Pay its expenses only from net proceeds"
       }
      }
     },
     "localname": "ProceedsFromSaleOfTrustAssetsToPayExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r92",
      "r371"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Cash received for stock option"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromWarrantExercises": {
     "auth_ref": [
      "r92"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from holders exercising their stock warrants.",
        "label": "Proceeds from Warrant Exercises",
        "negatedLabel": "Proceeds allocated to Public Warrants"
       }
      }
     },
     "localname": "ProceedsFromWarrantExercises",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbalancesheetarereconciledTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r3",
      "r70",
      "r71",
      "r75",
      "r99",
      "r120",
      "r131",
      "r141",
      "r142",
      "r180",
      "r189",
      "r193",
      "r196",
      "r198",
      "r214",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r418",
      "r421",
      "r422",
      "r425",
      "r426",
      "r440",
      "r450",
      "r535"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income (loss)"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r46",
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r242",
      "r585",
      "r586",
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "PROPERTY, EQUIPMENT AND LEASEHOLD IMPROVEMENTS"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r45",
      "r238"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "terseLabel": "Subtotal"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r21",
      "r22",
      "r240",
      "r483",
      "r537",
      "r551"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Property, equipment and leasehold improvements, net $"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentOtherNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after depreciation of long-lived, physical assets used to produce goods and services and not intended for resale, classified as other.",
        "label": "Property, Plant and Equipment, Other, Net",
        "terseLabel": "Property, equipment and leasehold improvements, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentOtherNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r43",
      "r240",
      "r585",
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property, Equipment and Leasehold Improvements"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r21",
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Schedule property, equipment and leasehold improvements"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/PropertyEquipmentandLeaseholdImprovementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r21",
      "r238"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Property, Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForDoubtfulAccounts": {
     "auth_ref": [
      "r80",
      "r218"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
        "label": "Accounts Receivable, Credit Loss Expense (Reversal)",
        "terseLabel": "Bad debt expense"
       }
      }
     },
     "localname": "ProvisionForDoubtfulAccounts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilityPropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Public Utility, Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PublicUtilityPropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PublicUtilityPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r44",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about public utility physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, deprecation expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Public Utility, Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "PublicUtilityPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount": {
     "auth_ref": [
      "r288",
      "r289",
      "r290",
      "r291"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "As of the reporting date, the carrying amount of noncontrolling interests which are redeemable by the (parent) entity (1) at a fixed or determinable price on a fixed or determinable date, (2) at the option of the holder of the noncontrolling interest, or (3) upon occurrence of an event that is not solely within the control of the (parent) entity. The noncontrolling interest holder's ownership (or holders' ownership) may be in the form of preferred shares (regardless of class), preferred partnership units (regardless of class), preferential membership interests, or any other form of preferred equity regardless of investee entity legal form.",
        "label": "Redeemable Noncontrolling Interest, Equity, Preferred, Carrying Amount",
        "terseLabel": "Series A preferred stock, $0.00001 par value, 3,545,529 shares authorized at December 31, 2021 and 2020, respectively, 3,237,800 shares issued and outstanding at December 31, 2021 and 2020, respectively."
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestEquityPreferredCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r327",
      "r473",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r327",
      "r473",
      "r474",
      "r476"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r327"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionDueFromToRelatedParty": {
     "auth_ref": [
      "r124",
      "r252",
      "r254",
      "r255",
      "r259",
      "r260",
      "r261",
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Receivables to be collected from (obligations owed to) related parties, net as of the balance sheet date where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth.",
        "label": "Related Party Transaction, Due from (to) Related Party",
        "terseLabel": "Related party loans"
       }
      }
     },
     "localname": "RelatedPartyTransactionDueFromToRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of selling, general and administrative expenses resulting from transactions, excluding transactions that are eliminated in consolidated or combined financial statements, with related party.",
        "label": "Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party",
        "terseLabel": "Expenses related to arrangements"
       }
      }
     },
     "localname": "RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r327",
      "r473",
      "r476",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/LitigationDetails",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r471",
      "r472",
      "r474",
      "r477",
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "RELATED PARTY TRANSACTIONS"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfDebt": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations.",
        "label": "Repayments of Debt",
        "negatedLabel": "Payments of loan principal"
       }
      }
     },
     "localname": "RepaymentsOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfRelatedPartyDebt": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the payment of a long-term borrowing made from a related party where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Payments for Advances from Affiliates.",
        "label": "Repayments of Related Party Debt",
        "negatedLabel": "Repayment of note payable \u2013 related party"
       }
      }
     },
     "localname": "RepaymentsOfRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCash": {
     "auth_ref": [
      "r111",
      "r517",
      "r546"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r6",
      "r20",
      "r108",
      "r111"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash and Cash Equivalents, Current",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashCurrent": {
     "auth_ref": [
      "r6",
      "r20",
      "r111"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash, Current",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCashCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Restricted Stock [Member]",
        "terseLabel": "Restricted Stock [Member]"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r36",
      "r308",
      "r375",
      "r483",
      "r548",
      "r569",
      "r574"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Accumulated deficit"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r128",
      "r129",
      "r130",
      "r132",
      "r139",
      "r142",
      "r215",
      "r372",
      "r373",
      "r374",
      "r403",
      "r404",
      "r438",
      "r565",
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Accumulated Deficit"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsUnappropriated": {
     "auth_ref": [
      "r35",
      "r119",
      "r547"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is available for dividend distribution. Earnings not paid out as dividends but instead reinvested in the core business or used to pay off debt. Unappropriated profit is part of shareholder equity. Also called cumulative distributions or earned surplus or accumulated earnings or unappropriated profit.",
        "label": "Retained Earnings, Unappropriated",
        "terseLabel": "Accumulated deficit"
       }
      }
     },
     "localname": "RetainedEarningsUnappropriated",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/GoingConcernDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r114",
      "r115"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue [Policy Text Block]",
        "terseLabel": "Revenue Recognition and Contract Balances"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r77",
      "r120",
      "r175",
      "r176",
      "r188",
      "r194",
      "r195",
      "r199",
      "r200",
      "r201",
      "r214",
      "r249",
      "r250",
      "r251",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r260",
      "r261",
      "r450",
      "r535"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "netLabel": "Total Revenue",
        "terseLabel": "Revenues",
        "verboseLabel": "Total revenue"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement",
      "http://www.brpm.com/role/ScheduleofconsolidatedstatementofoperationsTable",
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable",
      "http://www.brpm.com/role/ScheduleoffinancialstatementsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedOnTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received on stock transaction after deduction of issuance costs.",
        "label": "Sale of Stock, Consideration Received on Transaction",
        "terseLabel": "Gross proceeds"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedOnTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedPerTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration received by subsidiary or equity investee in exchange for shares of stock issued or sold. Includes amount of cash received, fair value of noncash assets received, and fair value of liabilities assumed by the investor.",
        "label": "Sale of Stock, Consideration Received Per Transaction",
        "terseLabel": "Underwriting commissions"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedPerTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction.",
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "terseLabel": "Shares sold (in Shares)"
       }
      }
     },
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SaleOfStockPercentageOfOwnershipAfterTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of subsidiary's or equity investee's stock owned by parent company after stock transaction.",
        "label": "Sale of Stock, Percentage of Ownership after Transaction",
        "terseLabel": "Percentage of gross proceeds",
        "verboseLabel": "Percentage of public offering"
       }
      }
     },
     "localname": "SaleOfStockPercentageOfOwnershipAfterTransaction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale of Stock, Price Per Share",
        "terseLabel": "Price per share (in Dollars per share)",
        "verboseLabel": "Sale of stock, price per share (in Dollars per share)"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accrued liabilities.",
        "label": "Schedule of Accrued Liabilities [Table Text Block]",
        "terseLabel": "Schedule of accounts payable and accrued expenses"
       }
      }
     },
     "localname": "ScheduleOfAccruedLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountsPayableandAccruedExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule for securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by Antidilutive Securities.",
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities.",
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]",
        "terseLabel": "Schedule of basic and diluted weighted-average shares of common stock outstanding"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Schedule of debt"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r394"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of deferred tax asset",
        "verboseLabel": "Schedule of deferred tax assets"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTextBlock": {
     "auth_ref": [
      "r328",
      "r329",
      "r330",
      "r331",
      "r332"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of one or more of the entity's defined benefit pension plans or one or more other defined benefit postretirement plans, separately for pension plans and other postretirement benefit plans including the entity's schedule of fair value of plan assets for defined benefit or other postretirement plans.",
        "label": "Schedule of Defined Benefit Plans Disclosures [Table Text Block]",
        "terseLabel": "401(K) PLAN"
       }
      }
     },
     "localname": "ScheduleOfDefinedBenefitPlansDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/401KPlan"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeLiabilitiesAtFairValueTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of derivative liabilities at fair value.",
        "label": "Schedule of Derivative Liabilities at Fair Value [Table Text Block]",
        "terseLabel": "Schedule of change in fair value of level 3 warrant liabilities"
       }
      }
     },
     "localname": "ScheduleOfDerivativeLiabilitiesAtFairValueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RecurringFairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r153"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of the numerator and denominator used to compute basic and diluted net loss per share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of the Company\u2019s effective income tax rate",
        "verboseLabel": "Schedule of the statutory tax rates and the effective tax rates"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r441",
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of fair value, assets and liabilities measured on recurring basis"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RecurringFairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r229",
      "r232",
      "r503"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r229",
      "r232"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of intangible assets"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock": {
     "auth_ref": [
      "r469"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of future minimum lease payments as of the date of the latest balance sheet presented, in aggregate and for each of the five years succeeding fiscal years, with separate deductions from the total for the amount representing executor costs, including any profit thereon, included in the minimum lease payments and for the amount of the imputed interest necessary to reduce the net minimum lease payments to present value.",
        "label": "Schedule of Future Minimum Lease Payments for Capital Leases [Table Text Block]",
        "terseLabel": "Schedule of future minimum lease payment"
       }
      }
     },
     "localname": "ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/CommitmentsandContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r46",
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfPublicUtilityPropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r44",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of public utility physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, deprecation expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Public Utility Property, Plant, and Equipment [Table Text Block]",
        "terseLabel": "Schedule of estimated useful lives of our fixed assets"
       }
      }
     },
     "localname": "ScheduleOfPublicUtilityPropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r180",
      "r181",
      "r192",
      "r226"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r180",
      "r181",
      "r192",
      "r226"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Schedule of disaggregates the company\u2019s revenue"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.",
        "label": "Share-based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block]",
        "terseLabel": "Schedule of restricted stock awards activity and related information"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r345",
      "r356",
      "r359"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Schedule of stock option activity and related information"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Schedule of fair value of initial measurement",
        "verboseLabel": "Schedule of fair value of options and warrants granted"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RecurringFairValueMeasurementsTables",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r232"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of estimated future amortization of intangible assets"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/IntangiblesAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuredLongTermDebt": {
     "auth_ref": [
      "r58"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of collateralized debt obligations with maturities initially due after one year or beyond the operating cycle, if longer, excluding the current portion. Obligations include, but not limited to, mortgage loans, chattel loans, and other borrowings secured by assets.",
        "label": "Secured Long-term Debt, Noncurrent",
        "terseLabel": "Secured convertible promissory notes"
       }
      }
     },
     "localname": "SecuredLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdisaggregatesthecompanysrevenueTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r182",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r200"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "terseLabel": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SellingAndMarketingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total amount of expenses directly related to the marketing or selling of products or services.",
        "label": "Selling and Marketing Expense",
        "terseLabel": "Sales and marketing"
       }
      }
     },
     "localname": "SellingAndMarketingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding nonredeemable series A preferred stock or outstanding series A preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series A Preferred Stock [Member]",
        "terseLabel": "Series A Preferred Stock",
        "verboseLabel": "Series A Preferred Stock [Member]"
       }
      }
     },
     "localname": "SeriesAPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Noncash Expense",
        "terseLabel": "Stock-based compensation expense"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1": {
     "auth_ref": [
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Requisite Service Period",
        "terseLabel": "Vest over period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period",
        "terseLabel": "Awards agreements"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r355"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted-Average Grant Date Fair Value Per Share Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Number of Shares Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted-Average Grant Date Fair Value Per Share Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r352"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted-Average Grant Date Fair Value Per Share Nonvested restricted stock awards Ending Balance",
        "periodStartLabel": "Weighted-Average Grant Date Fair Value Per Share Beginning Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for equity-based awards excluding options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Outstanding, Weighted Average Remaining Contractual Terms",
        "terseLabel": "Term of warrants"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue": {
     "auth_ref": [
      "r358"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value",
        "terseLabel": "Number of shares outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r354"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted-Average Grant Date Fair Value Per Share Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r364"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate",
        "terseLabel": "Dividend yield",
        "verboseLabel": "Expected dividend yield"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueofinitialmeasurementTable",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r363"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "terseLabel": "Expected volatility",
        "verboseLabel": "Volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueofinitialmeasurementTable",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r365"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueofinitialmeasurementTable",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant",
        "terseLabel": "Stock options grants (in Shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "auth_ref": [
      "r358"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value",
        "terseLabel": "Aggregate intrinsic value of option exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r351"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Expirations in Period",
        "negatedLabel": "Number of Shares Options Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price of options that were either forfeited or expired.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price Per Share Options Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r349"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period",
        "negatedLabel": "Number of Shares Options Forfeited/Cancelled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Number of Shares Options Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r357"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value (in Dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r370"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value",
        "periodEndLabel": "Aggregate Intrinsic Value of In-the-Money Options, Options Outstanding as of ending balance",
        "periodStartLabel": "Aggregate Intrinsic Value of In-the-Money Options, Options Outstanding and Exercisable as of beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r347",
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Number of Shares, Options Outstanding as of ending balance",
        "periodStartLabel": "Number of Shares, Options Outstanding and Exercisable as of beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecreaseWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in the weighted average exercise price of options outstanding.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Period Increase (Decrease), Weighted Average Exercise Price",
        "terseLabel": "Exercise price (in Dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecreaseWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueofinitialmeasurementTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r346"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Weighted- Average Exercise Price Per Share, Options Outstanding as of ending balance (in Dollars per share)",
        "periodStartLabel": "Weighted- Average Exercise Price Per Share, Options Outstanding and Exercisable as of beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price Per Share Options Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased": {
     "auth_ref": [
      "r337",
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share weighted-average price paid for shares purchased on open market for issuance under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Per Share Weighted Average Price of Shares Purchased",
        "terseLabel": "Exercise price (in Dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost": {
     "auth_ref": [
      "r368"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An excess of the fair value of the modified award over the fair value of the award immediately before the modification.",
        "label": "Share-based Payment Arrangement, Plan Modification, Incremental Cost",
        "terseLabel": "Incremental non-cash charge"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAward": {
     "auth_ref": [
      "r337",
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares purchased for issuance under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Shares Purchased for Award",
        "terseLabel": "Option to purchase of common stock (in Shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r337",
      "r342"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price Per Share Options Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price Per Share Forfeited/Cancelled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price Per Share Options Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r339",
      "r343"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Stock-Based Compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedPaymentArrangementNonemployeeMember": {
     "auth_ref": [
      "r335",
      "r366"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recipient, of award granted under share-based payment arrangement, over whom grantor does not exercise nor has right to exercise sufficient control to establish employer-employee relationship based on law of pertinent jurisdiction. Excludes nonemployee director treated as employee when acting as member of board of directors, if elected by grantor's shareholders or appointed to board position to be filled by shareholder election when existing term expires.",
        "label": "Share-based Payment Arrangement, Nonemployee [Member]",
        "terseLabel": "Share-based Payment Arrangement, Nonemployee [Member]"
       }
      }
     },
     "localname": "ShareBasedPaymentArrangementNonemployeeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price",
        "terseLabel": "Stock price (in Dollars per share)"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r341"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period",
        "terseLabel": "Granted period"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r362",
      "r376"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Expected term (years)",
        "verboseLabel": "Expected term"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleoffairvalueofinitialmeasurementTable",
      "http://www.brpm.com/role/ScheduleoffairvalueofoptionsandwarrantsgrantedTable"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r370"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value of In-the-Money Options, Options Outstanding"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted-Average Remaining Contractual Life in Years Options Outstanding"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of non-vested options outstanding.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares",
        "periodEndLabel": "Number of Shares Nonvested restricted stock awards Ending Balance",
        "periodStartLabel": "Number of Shares Nonvested restricted stock awards Beginning Balance"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of non-vested options forfeited.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Number of Shares",
        "terseLabel": "Number of Shares Forfeited"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted- Average Remaining Contractual Life in Years, Options Outstanding and Exercisable as of beginning balance"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for fully vested and expected to vest options outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted- Average Remaining Contractual Life in Years, Options Outstanding as of ending balance"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofstockoptionactivityandrelatedinformationTable"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1": {
     "auth_ref": [
      "r344"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value",
        "terseLabel": "Fair value of options, vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options vested.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares",
        "terseLabel": "Number of Shares Vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofrestrictedstockawardsactivityandrelatedinformationTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average grant-date fair value of options vested.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Weighted Average Grant Date Fair Value",
        "terseLabel": "Warrants granted and vested (in Dollars per share)",
        "verboseLabel": "Weighted-Average Fair Value"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofwarrantactivityTable",
      "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1": {
     "auth_ref": [
      "r347"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average price as of the balance sheet date at which grantees could acquire the underlying shares with respect to all outstanding stock options which are in the customized range of exercise prices.",
        "label": "Share-based Payment Arrangement, Option, Exercise Price Range, Outstanding, Weighted Average Exercise Price",
        "terseLabel": "Weighted-Average Exercise Price"
       }
      }
     },
     "localname": "SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofweightedaverageexercisepriceandweightedaveragegrantdateTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharesIssued": {
     "auth_ref": [
      "r306"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury.",
        "label": "Shares issued (in Shares)",
        "netLabel": "Combined common stock shares (in Shares)",
        "terseLabel": "Purchase of warrants (in Shares)",
        "verboseLabel": "Issuance of shares (in Shares)"
       }
      }
     },
     "localname": "SharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/LitigationDetails",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesIssuedPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or per unit amount of equity securities issued.",
        "label": "Shares Issued, Price Per Share",
        "terseLabel": "Share price per share (in Dollars per share)",
        "verboseLabel": "Deemed per share price"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "periodEndLabel": "Balance (in Shares)",
        "periodStartLabel": "Balance (in Shares)",
        "terseLabel": "Shares outstanding (in Shares)"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionChangesInRedemptionValuePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognition of changes in redemption value of mandatorily redeemable shares. Provides the period over which changes in redemption value are accreted, usually from the issuance date (or from the date that it becomes probable that the security will become redeemable, if later) to the earliest redemption date of the security.",
        "label": "Shares Subject to Mandatory Redemption, Changes in Redemption Value, Policy [Policy Text Block]",
        "terseLabel": "Class A Common Stock Subject to Possible Redemption"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionChangesInRedemptionValuePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShortTermBorrowings": {
     "auth_ref": [
      "r24",
      "r483",
      "r519",
      "r543"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
        "label": "Short-term Debt",
        "terseLabel": "Short-term debt"
       }
      }
     },
     "localname": "ShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/DebtDetails",
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r50"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofdebtTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r112",
      "r127"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SoftwareDevelopmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internally developed software for sale, licensing or long-term internal use.",
        "label": "Software Development [Member]",
        "terseLabel": "Website development [Member]"
       }
      }
     },
     "localname": "SoftwareDevelopmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofintangibleassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r29",
      "r30",
      "r31",
      "r118",
      "r120",
      "r146",
      "r147",
      "r148",
      "r151",
      "r153",
      "r160",
      "r161",
      "r162",
      "r214",
      "r249",
      "r254",
      "r255",
      "r256",
      "r260",
      "r261",
      "r292",
      "r293",
      "r296",
      "r300",
      "r306",
      "r450",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockholdersEquityDetails",
      "http://www.brpm.com/role/WarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r60",
      "r73",
      "r74",
      "r75",
      "r128",
      "r129",
      "r130",
      "r132",
      "r139",
      "r142",
      "r159",
      "r215",
      "r306",
      "r308",
      "r372",
      "r373",
      "r374",
      "r403",
      "r404",
      "r438",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r565",
      "r566",
      "r567",
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockholdersEquityDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/ConsolidatedIncomeStatement",
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r128",
      "r129",
      "r130",
      "r159",
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/ConsolidatedIncomeStatement",
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesIssuedForServices": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders.",
        "label": "Stock Issued During Period, Shares, Issued for Services",
        "terseLabel": "Issuance of common stock (in Shares)",
        "verboseLabel": "Common stock to non-employees (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesIssuedForServices",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/StockCompensationExpenseandWarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r30",
      "r31",
      "r306",
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Sale of 520,000 Private Placement Units on February 23, 2021 (in Shares)",
        "verboseLabel": "Issuance of warrants (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesOther": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued attributable to transactions classified as other.",
        "label": "Stock Issued During Period, Shares, Other",
        "terseLabel": "Common stock shares sold (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross": {
     "auth_ref": [
      "r306",
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards.",
        "label": "Stock Issued During Period, Shares, Restricted Stock Award, Gross",
        "terseLabel": "Issuance of common stock upon vesting of restricted stock awards (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r30",
      "r31",
      "r306",
      "r308",
      "r348"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
        "terseLabel": "Exercise of stock options (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueIssuedForServices": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued in lieu of cash for services contributed to the entity. Value of the stock issued includes, but is not limited to, services contributed by vendors and founders.",
        "label": "Stock Issued During Period, Value, Issued for Services",
        "terseLabel": "Issuance of common stock"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueIssuedForServices",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r30",
      "r31",
      "r306",
      "r308"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Sale of 520,000 Private Placement Units on February 23, 2021"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueOther": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of shares of stock issued attributable to transactions classified as other.",
        "label": "Stock Issued During Period, Value, Other",
        "terseLabel": "Subsequent measurement of Class A Common Stock Subject to Redemption under ASC 480-10-S99 against additional paid-in capital and accumulated deficit"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross": {
     "auth_ref": [
      "r30",
      "r31",
      "r306",
      "r308"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate value of stock related to Restricted Stock Awards issued during the period.",
        "label": "Stock Issued During Period, Value, Restricted Stock Award, Gross",
        "terseLabel": "Unvested restricted stock awards",
        "verboseLabel": "Restricted stock awards"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbasicanddilutedweightedaveragesharesofcommonstockoutstandingTable",
      "http://www.brpm.com/role/ScheduleofstockbasedcompensationexpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensationGross": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value, before forfeiture, of shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).",
        "label": "Shares Issued, Value, Share-based Payment Arrangement, before Forfeiture",
        "terseLabel": "Stock based compensation expense"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensationGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r60",
      "r306",
      "r308"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "terseLabel": "Exercise of stock options"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r31",
      "r37",
      "r38",
      "r120",
      "r210",
      "r214",
      "r450",
      "r483"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total stockholders\u2019 equity (deficit)"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "Stockholders\u2019 equity (deficit):"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r119",
      "r293",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r308",
      "r310"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]",
        "terseLabel": "STOCKHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/StockholdersEquity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StockholdersEquityOtherShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of increase (decrease) in shares of stock classified as other.",
        "label": "Stockholders' Equity, Other Shares",
        "terseLabel": "Issue to stockholders shares"
       }
      }
     },
     "localname": "StockholdersEquityOtherShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ProposedBusinessCombinationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r460",
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r460",
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r484",
      "r486"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "SUBSEQUENT EVENTS"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails",
      "http://www.brpm.com/role/RelatedPartyTransactionsDetails",
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubstantialDoubtAboutGoingConcernTextBlock": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure when substantial doubt is raised about the ability to continue as a going concern. Includes, but is not limited to, principal conditions or events that raised substantial doubt about the ability to continue as a going concern, management's evaluation of the significance of those conditions or events in relation to the ability to meet its obligations, and management's plans that alleviated or are intended to mitigate the conditions or events that raise substantial doubt about the ability to continue as a going concern.",
        "label": "Substantial Doubt about Going Concern [Text Block]",
        "terseLabel": "GOING CONCERN"
       }
      }
     },
     "localname": "SubstantialDoubtAboutGoingConcernTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/GoingConcern"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosures:",
        "verboseLabel": "SUPPLEMENTAL DISCLOSURE FOR OPERATING ACTIVITIES:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxesPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r25",
      "r521",
      "r542"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for statutory income, sales, use, payroll, excise, real, property and other taxes.",
        "label": "Taxes Payable",
        "terseLabel": "Tax payable"
       }
      }
     },
     "localname": "TaxesPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/OrganizationandNatureofBusinessOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityAccretionToRedemptionValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of accretion of temporary equity to its redemption value during the period.",
        "label": "Temporary Equity, Accretion to Redemption Value",
        "terseLabel": "Accretion of carrying value to redemption value",
        "verboseLabel": "Temporary equity (in Dollars)"
       }
      }
     },
     "localname": "TemporaryEquityAccretionToRedemptionValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofbalancesheetarereconciledTable",
      "http://www.brpm.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityAggregateAmountOfRedemptionRequirement": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of redemption requirements for each class or type of redeemable stock classified as temporary equity for each of the five years following the latest balance sheet date. The redemption requirement does not constitute an unconditional obligation that will be settled in a variable number of shares constituting a monetary value predominantly indexed to (a) a fixed monetary amount known at inception, (b) an amount inversely correlated with the residual value of the entity, or (c) an amount determined by reference to something other than the fair value of issuer's stock. Does not include mandatorily redeemable stock. The exception is if redemption is required upon liquidation or termination of the reporting entity.",
        "label": "Temporary Equity, Aggregate Amount of Redemption Requirement",
        "terseLabel": "Common stock subject to possible redemption, shares (in Dollars)"
       }
      }
     },
     "localname": "TemporaryEquityAggregateAmountOfRedemptionRequirement",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "auth_ref": [
      "r249",
      "r254",
      "r255",
      "r256",
      "r260",
      "r261"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Carrying Amount, Attributable to Parent",
        "terseLabel": "Class A Common stock subject to possible redemption; 17,250,000 shares (at redemption value of $10.00 per share)",
        "verboseLabel": "Class A common stock subject to possible redemption"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet",
      "http://www.brpm.com/role/ScheduleofbalancesheetarereconciledTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityParOrStatedValuePerShare": {
     "auth_ref": [
      "r19",
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.",
        "label": "Temporary Equity, Par or Stated Value Per Share",
        "terseLabel": "Redemption value, per share (in Dollars per share)"
       }
      }
     },
     "localname": "TemporaryEquityParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_TradeAndOtherAccountsReceivablePolicy": {
     "auth_ref": [
      "r204",
      "r205",
      "r206",
      "r207",
      "r209",
      "r212"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for accounts receivable.",
        "label": "Accounts Receivable [Policy Text Block]",
        "terseLabel": "Trade Receivables, net"
       }
      }
     },
     "localname": "TradeAndOtherAccountsReceivablePolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_UnamortizedDiscountsOnAcceptancesResold": {
     "auth_ref": [
      "r211",
      "r520"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of the unamortized discount or expense related to the financial institution's sale of short-term negotiable time drafts drawn on and accepted by the institution (also known as Banker's Acceptances) in the secondary market.",
        "label": "Unamortized Discounts on Acceptances Resold",
        "terseLabel": "Customer discounts"
       }
      }
     },
     "localname": "UnamortizedDiscountsOnAcceptancesResold",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivatives": {
     "auth_ref": [
      "r106"
     ],
     "calculation": {
      "http://www.brpm.com/role/ConsolidatedCashFlow": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.brpm.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherNonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Unrealized Gain (Loss) on Derivatives",
        "negatedLabel": "Unrealized gain on change in fair value of warrants",
        "terseLabel": "Change in fair value of warrants"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedCashFlow",
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r163",
      "r164",
      "r166",
      "r167",
      "r170",
      "r171",
      "r172"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_VehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment used primarily for road transportation.",
        "label": "Vehicles [Member]",
        "terseLabel": "Vehicles [Member]"
       }
      }
     },
     "localname": "VehiclesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofestimatedusefullivesofourfixedassetsTable",
      "http://www.brpm.com/role/SchedulepropertyequipmentandleaseholdimprovementsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Security that gives the holder the right to purchase shares of stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Warrant [Member]",
        "terseLabel": "Warrant [Member]"
       }
      }
     },
     "localname": "WarrantMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingTerm": {
     "auth_ref": [
      "r443"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Warrants and Rights Outstanding, Term",
        "terseLabel": "Warrants expire term"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/WarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS).",
        "label": "Weighted Average Number of Shares Outstanding, Basic and Diluted",
        "terseLabel": "Weighted-average number of common shares outstanding \u2013 basic and diluted (in Shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfShareOutstandingBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r144",
      "r153"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Basic and diluted weighted average shares of redeemable common stock"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.brpm.com/role/ScheduleofreconciliationofthenumeratoranddenominatorusedtocomputebasicanddilutednetlosspershareTable"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 4
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)-(g)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6787-107765"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(b))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6801-107765"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6911-107765"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1377-109256"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1278-109256"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2626-109256"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6935-107765"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e4984-109258"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=124437754&loc=d3e543-108305"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e7018-107765"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "http://asc.fasb.org/topic&trid=2134479"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(19)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(27)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=124429488&loc=d3e326-107755"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e4975-111524"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5033-111524"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5093-111524"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=6378536&loc=d3e10102-111533"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL120267862-210455"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "http://asc.fasb.org/topic&trid=2126998"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=123349782&loc=d3e5879-108316"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.A)",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=122040515&loc=d3e105025-122735"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466302&loc=d3e4724-112606"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262497&loc=d3e20148-110875"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(12)(c)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(16)(c)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "14",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "15",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496180-112644"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130531-203044"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130532-203044"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130533-203044"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2410-114920"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2417-114920"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e2439-114920"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=123468992&loc=SL116886442-113899"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=123468992&loc=d3e4549-113899"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b),(f)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)-(4)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(4)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=SL79508275-113901"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11374-113907"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "740",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121829988&loc=d3e23524-113945"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(b)",
   "Topic": "720",
   "URI": "http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "40",
   "Topic": "205",
   "URI": "http://asc.fasb.org/subtopic&trid=51888271"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "http://asc.fasb.org/topic&trid=2303972"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=d3e5283-111683"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "http://asc.fasb.org/topic&trid=2197479"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(b)(2),(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.14)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "http://asc.fasb.org/topic&trid=2175825"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(Note 3)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123403562&loc=d3e38371-112697"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123406913&loc=d3e41502-112717"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123386454&loc=d3e45280-112737"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a)(5))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=d3e56071-112765"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a)(7))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "905",
   "URI": "http://asc.fasb.org/extlink&oid=6471048&loc=d3e5272-110052"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=123371682&loc=d3e55415-109406"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "330",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=6471895&loc=d3e55923-109411"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "715",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=6472162&loc=d3e58407-109430"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a),20,24)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(14))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(3))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(3),(4))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7(e))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62652-112803"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123345438&loc=d3e61044-112788"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4)(ii))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.1,2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.7)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "720",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=35755714&loc=d3e28434-158551"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=123726495&loc=d3e600178-122990"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=118262064&loc=SL116631418-115840"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=118262064&loc=SL116631419-115840"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.12(3))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16(b)(4))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=123364037&loc=d3e3115-115594"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "980",
   "URI": "http://asc.fasb.org/extlink&oid=84167750&loc=d3e42232-110370"
  },
  "r592": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r593": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r594": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r595": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r596": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04"
  },
  "r597": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01"
  },
  "r598": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01"
  },
  "r599": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r600": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "i",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "10"
  },
  "r601": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "5",
   "Subparagraph": "Schedule I",
   "Subsection": "04"
  },
  "r602": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "7",
   "Subparagraph": "Schedule II",
   "Subsection": "05"
  },
  "r603": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "9",
   "Subsection": "06"
  },
  "r604": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.6(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.6(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.8)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.9)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(5))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1,2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.19)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4,6)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(b))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "8",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3337-108585"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585"
  }
 },
 "version": "2.1"
}
