SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

Rubius Therapeutics, Inc. – ‘10-Q’ for 6/30/22 – ‘JSON’

On:  Tuesday, 8/9/22, at 8:17am ET   ·   For:  6/30/22   ·   Accession #:  1709401-22-14   ·   File #:  1-38586

Previous ‘10-Q’:  ‘10-Q’ on 5/10/22 for 3/31/22   ·   Next & Latest:  ‘10-Q’ on 11/9/22 for 9/30/22   ·   4 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size

 8/09/22  Rubius Therapeutics, Inc.         10-Q        6/30/22   52:4.8M

Quarterly Report   —   Form 10-Q

Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-Q        Quarterly Report                                    HTML   1.49M 
 2: EX-31.1     Certification -- §302 - SOA'02                      HTML     23K 
 3: EX-31.2     Certification -- §302 - SOA'02                      HTML     23K 
 4: EX-32.1     Certification -- §906 - SOA'02                      HTML     17K 
 5: EX-32.2     Certification -- §906 - SOA'02                      HTML     17K 
11: R1          Cover Page                                          HTML     70K 
12: R2          Condensed Consolidated Balance Sheets               HTML    107K 
13: R3          Condensed Consolidated Balance Sheets               HTML     34K 
                (Parenthetical)                                                  
14: R4          Condensed Consolidated Statements of Operations     HTML     86K 
                and Comprehensive Loss                                           
15: R5          Condensed Consolidated Statements of Operations     HTML     19K 
                and Comprehensive Loss (Parenthetical)                           
16: R6          Condensed Consolidated Statements of Cash Flows     HTML     97K 
17: R7          Condensed Consolidated Statements of Stockholders'  HTML     86K 
                Equity                                                           
18: R8          Condensed Consolidated Statements of Stockholders'  HTML     17K 
                Equity (Parenthetical)                                           
19: R9          Nature of the Business and Basis of Presentation    HTML     28K 
20: R10         Summary of Significant Accounting Policies          HTML     33K 
21: R11         Investments and Fair Value of Financial Assets and  HTML     51K 
                Liabilities                                                      
22: R12         Property, Plant and Equipment, Net                  HTML     32K 
23: R13         Accrued Expenses and Other Current Liabilities      HTML     26K 
24: R14         Debt                                                HTML     30K 
25: R15         Equity                                              HTML     25K 
26: R16         Stock-Based Compensation                            HTML     30K 
27: R17         Commitments and Contingencies                       HTML     24K 
28: R18         Net Loss per Share                                  HTML     37K 
29: R19         Summary of Significant Accounting Policies          HTML     49K 
                (Policies)                                                       
30: R20         Investments and Fair Value of Financial Assets and  HTML     52K 
                Liabilities (Tables)                                             
31: R21         Property, Plant and Equipment, Net (Tables)         HTML     30K 
32: R22         Accrued Expenses and Other Current Liabilities      HTML     25K 
                (Tables)                                                         
33: R23         Debt (Tables)                                       HTML     23K 
34: R24         Stock-Based Compensation (Tables)                   HTML     28K 
35: R25         Net Loss per Share (Tables)                         HTML     39K 
36: R26         Nature of the Business and Basis of Presentation    HTML     63K 
                (Details)                                                        
37: R27         Summary of Significant Accounting Policies          HTML     29K 
                (Details)                                                        
38: R28         Investments and Fair Value of Financial Assets and  HTML     59K 
                Liabilities (Details)                                            
39: R29         Property, Plant and Equipment, Net (Details)        HTML     43K 
40: R30         Accrued Expenses and Other Current Liabilities      HTML     28K 
                (Details)                                                        
41: R31         Debt (Details)                                      HTML     79K 
42: R32         Equity (Details)                                    HTML     44K 
43: R33         Stock-Based Compensation - Compensation expense     HTML     40K 
                (Details)                                                        
44: R34         Commitments and Contingencies - Collaborative       HTML     24K 
                Arrangements and Non-collaborative Arrangement                   
                (Details)                                                        
45: R35         Commitments and Contingencies - Defined             HTML     24K 
                Contribution Plan (Details)                                      
46: R36         Net Loss per Share - Weighted Average Shares        HTML     49K 
                (Details)                                                        
47: R37         Net Loss per Share - Antidilutive Securities        HTML     24K 
                (Details)                                                        
50: XML         IDEA XML File -- Filing Summary                      XML     87K 
48: XML         XBRL Instance -- ruby-20220630_htm                   XML    864K 
49: EXCEL       IDEA Workbook of Financial Reports                  XLSX     83K 
 7: EX-101.CAL  XBRL Calculations -- ruby-20220630_cal               XML    112K 
 8: EX-101.DEF  XBRL Definitions -- ruby-20220630_def                XML    244K 
 9: EX-101.LAB  XBRL Labels -- ruby-20220630_lab                     XML    942K 
10: EX-101.PRE  XBRL Presentations -- ruby-20220630_pre              XML    505K 
 6: EX-101.SCH  XBRL Schema -- ruby-20220630                         XSD     87K 
51: JSON        XBRL Instance as JSON Data -- MetaLinks              256±   378K 
52: ZIP         XBRL Zipped Folder -- 0001709401-22-000014-xbrl      Zip    370K 


‘JSON’   —   XBRL Instance as JSON Data — MetaLinks


This File is an XBRL Instance as JavaScript Object Notation (JSON) Data.



{
"instance":  {
    "ruby-20220630.htm":  {
        "axisCustom":  0,
        "axisStandard":  15,
        "contextCount":  130,
        "dts":  {
            "calculationLink":  {
                "local":  [
                    "ruby-20220630_cal.xml"
                    ]
                },
            "definitionLink":  {
                "local":  [
                    "ruby-20220630_def.xml"
                    ]
                },
            "inline":  {
                "local":  [
                    "ruby-20220630.htm"
                    ]
                },
            "labelLink":  {
                "local":  [
                    "ruby-20220630_lab.xml"
                    ]
                },
            "presentationLink":  {
                "local":  [
                    "ruby-20220630_pre.xml"
                    ]
                },
            "schema":  {
                "local":  [
                    "ruby-20220630.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/2022/elts/srt-2022.xsd",
                    "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
                    "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
                    "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
                    "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
                    "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
                    "https://xbrl.sec.gov/country/2022/country-2022.xsd",
                    "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
                    ]
                }
            },
        "elementCount":  322,
        "entityCount":  1,
        "hidden":  {
            "http://xbrl.sec.gov/dei/2022":  5,
            "total":  5
            },
        "keyCustom":  24,
        "keyStandard":  174,
        "memberCustom":  12,
        "memberStandard":  27,
        "nsprefix":  "ruby",
        "nsuri":  "http://www.rubiustx.com/20220630",
        "report":  {
            "R1":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "document",
                "isDefault":  "true",
                "longName":  "0001001 - Document - Cover Page",
                "role":  "http://www.rubiustx.com/role/CoverPage",
                "shortName":  "Cover Page",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R10":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2103102 - Disclosure - Summary of Significant Accounting Policies",
                "role":  "http://www.rubiustx.com/role/SummaryofSignificantAccountingPolicies",
                "shortName":  "Summary of Significant Accounting Policies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R11":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2106103 - Disclosure - Investments and Fair Value of Financial Assets and Liabilities",
                "role":  "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilities",
                "shortName":  "Investments and Fair Value of Financial Assets and Liabilities",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R12":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2109104 - Disclosure - Property, Plant and Equipment, Net",
                "role":  "http://www.rubiustx.com/role/PropertyPlantandEquipmentNet",
                "shortName":  "Property, Plant and Equipment, Net",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R13":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2112105 - Disclosure - Accrued Expenses and Other Current Liabilities",
                "role":  "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilities",
                "shortName":  "Accrued Expenses and Other Current Liabilities",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R14":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2115106 - Disclosure - Debt",
                "role":  "http://www.rubiustx.com/role/Debt",
                "shortName":  "Debt",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R15":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2118107 - Disclosure - Equity",
                "role":  "http://www.rubiustx.com/role/Equity",
                "shortName":  "Equity",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R16":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2120108 - Disclosure - Stock-Based Compensation",
                "role":  "http://www.rubiustx.com/role/StockBasedCompensation",
                "shortName":  "Stock-Based Compensation",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R17":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2123109 - Disclosure - Commitments and Contingencies",
                "role":  "http://www.rubiustx.com/role/CommitmentsandContingencies",
                "shortName":  "Commitments and Contingencies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R18":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2126110 - Disclosure - Net Loss per Share",
                "role":  "http://www.rubiustx.com/role/NetLossperShare",
                "shortName":  "Net Loss per Share",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R19":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:UnauditedInterimFinancialInformationPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2204201 - Disclosure - Summary of Significant Accounting Policies (Policies)",
                "role":  "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies",
                "shortName":  "Summary of Significant Accounting Policies (Policies)",
                "subGroupType":  "policies",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:UnauditedInterimFinancialInformationPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R2":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1001002 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS",
                "role":  "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS",
                "shortName":  "CONDENSED CONSOLIDATED BALANCE SHEETS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R20":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InvestmentTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2307301 - Disclosure - Investments and Fair Value of Financial Assets and Liabilities (Tables)",
                "role":  "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesTables",
                "shortName":  "Investments and Fair Value of Financial Assets and Liabilities (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InvestmentTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R21":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2310302 - Disclosure - Property, Plant and Equipment, Net (Tables)",
                "role":  "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetTables",
                "shortName":  "Property, Plant and Equipment, Net (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R22":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2313303 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)",
                "role":  "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables",
                "shortName":  "Accrued Expenses and Other Current Liabilities (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R23":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2316304 - Disclosure - Debt (Tables)",
                "role":  "http://www.rubiustx.com/role/DebtTables",
                "shortName":  "Debt (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R24":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2321305 - Disclosure - Stock-Based Compensation (Tables)",
                "role":  "http://www.rubiustx.com/role/StockBasedCompensationTables",
                "shortName":  "Stock-Based Compensation (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R25":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2327306 - Disclosure - Net Loss per Share (Tables)",
                "role":  "http://www.rubiustx.com/role/NetLossperShareTables",
                "shortName":  "Net Loss per Share (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R26":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ProceedsFromIssuanceOfCommonStock",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2402401 - Disclosure - Nature of the Business and Basis of Presentation (Details)",
                "role":  "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails",
                "shortName":  "Nature of the Business and Basis of Presentation (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "ib45b5ffd689f4d53a61ca79501695963_D20180720-20180720",
                    "decimals":  "INF",
                    "lang":  "en-US",
                    "name":  "us-gaap:StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R27":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "us-gaap:CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:RestrictedCashForBenefitOfLandlord",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2405402 - Disclosure - Summary of Significant Accounting Policies (Details)",
                "role":  "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesDetails",
                "shortName":  "Summary of Significant Accounting Policies (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "us-gaap:CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:RestrictedCashForBenefitOfLandlord",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R28":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:InvestmentTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2408403 - Disclosure - Investments and Fair Value of Financial Assets and Liabilities (Details)",
                "role":  "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails",
                "shortName":  "Investments and Fair Value of Financial Assets and Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:InvestmentTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R29":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:PropertyPlantAndEquipmentTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2411404 - Disclosure - Property, Plant and Equipment, Net (Details)",
                "role":  "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails",
                "shortName":  "Property, Plant and Equipment, Net (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:PropertyPlantAndEquipmentTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R3":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PreferredStockParOrStatedValuePerShare",
                    "reportCount":  1,
                    "unitRef":  "usdPerShare",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1002003 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
                "role":  "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical",
                "shortName":  "CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:PreferredStockSharesIssued",
                        "us-gaap:PreferredStockSharesOutstanding",
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "INF",
                    "lang":  "en-US",
                    "name":  "us-gaap:PreferredStockSharesIssued",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R30":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ruby:ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EmployeeRelatedLiabilitiesCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2414405 - Disclosure - Accrued Expenses and Other Current Liabilities (Details)",
                "role":  "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails",
                "shortName":  "Accrued Expenses and Other Current Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ruby:ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EmployeeRelatedLiabilitiesCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R31":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2417406 - Disclosure - Debt (Details)",
                "role":  "http://www.rubiustx.com/role/DebtDetails",
                "shortName":  "Debt (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id92b80fc7843454593d1aea59d41fab5_I20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R32":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:NumberOfVotesPerCommonShare",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "vote",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2419407 - Disclosure - Equity (Details)",
                "role":  "http://www.rubiustx.com/role/EquityDetails",
                "shortName":  "Equity (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:NumberOfVotesPerCommonShare",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "vote",
                    "xsiNil":  "false"
                    }
                },
            "R33":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id799da3126c34f1883d8d34e43c6d771_D20220401-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2422408 - Disclosure - Stock-Based Compensation - Compensation expense (Details)",
                "role":  "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails",
                "shortName":  "Stock-Based Compensation - Compensation expense (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id799da3126c34f1883d8d34e43c6d771_D20220401-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R34":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "ic75e6f14d7c44597a0d68cc6bd4997fa_D20220101-20220630",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:AggregateMilestonePaymentsAchievementOfSpecifiedMilestones",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2424409 - Disclosure - Commitments and Contingencies - Collaborative Arrangements and Non-collaborative Arrangement (Details)",
                "role":  "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails",
                "shortName":  "Commitments and Contingencies - Collaborative Arrangements and Non-collaborative Arrangement (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "ic75e6f14d7c44597a0d68cc6bd4997fa_D20220101-20220630",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:AggregateMilestonePaymentsAchievementOfSpecifiedMilestones",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R35":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i67b03b8b4a5b4fbdb3064a99c948aa9d_D20180101-20180131",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2425410 - Disclosure - Commitments and Contingencies - Defined Contribution Plan (Details)",
                "role":  "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails",
                "shortName":  "Commitments and Contingencies - Defined Contribution Plan (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i67b03b8b4a5b4fbdb3064a99c948aa9d_D20180101-20180131",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    }
                },
            "R36":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id799da3126c34f1883d8d34e43c6d771_D20220401-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2428411 - Disclosure - Net Loss per Share - Weighted Average Shares (Details)",
                "role":  "http://www.rubiustx.com/role/NetLossperShareWeightedAverageSharesDetails",
                "shortName":  "Net Loss per Share - Weighted Average Shares (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R37":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2429412 - Disclosure - Net Loss per Share - Antidilutive Securities (Details)",
                "role":  "http://www.rubiustx.com/role/NetLossperShareAntidilutiveSecuritiesDetails",
                "shortName":  "Net Loss per Share - Antidilutive Securities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R4":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id799da3126c34f1883d8d34e43c6d771_D20220401-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1003004 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS",
                "role":  "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id799da3126c34f1883d8d34e43c6d771_D20220401-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R5":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                        "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                        "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id799da3126c34f1883d8d34e43c6d771_D20220401-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1004005 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS (Parenthetical)",
                "role":  "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSSParenthetical",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                        "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                        "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "id799da3126c34f1883d8d34e43c6d771_D20220401-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R6":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1005006 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
                "role":  "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R7":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i006f696fac3c4dd2899a22eaf57bae83_I20201231",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SharesOutstanding",
                    "reportCount":  1,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1006007 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY",
                "role":  "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i4bb8e259f7b541f1a2fb7f8eef3f3d09_D20210101-20210331",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:StockIssuedDuringPeriodValueNewIssues",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R8":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i4bb8e259f7b541f1a2fb7f8eef3f3d09_D20210101-20210331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:StockIssuanceCosts",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1007008 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Parenthetical)",
                "role":  "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYParenthetical",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i4bb8e259f7b541f1a2fb7f8eef3f3d09_D20210101-20210331",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "ruby:StockIssuanceCosts",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R9":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2101101 - Disclosure - Nature of the Business and Basis of Presentation",
                "role":  "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentation",
                "shortName":  "Nature of the Business and Basis of Presentation",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "ruby-20220630.htm",
                    "contextRef":  "i0591663fd8c24b339586dd23d72a9fc7_D20220101-20220630",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                }
            },
        "segmentCount":  39,
        "tag":  {
            "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_CityAreaCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Area code of city",
                            "label":  "City Area Code",
                            "terseLabel":  "City Area Code"
                            }
                        }
                    },
                "localname":  "CityAreaCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_CoverAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cover page.",
                            "label":  "Cover [Abstract]",
                            "terseLabel":  "Cover [Abstract]"
                            }
                        }
                    },
                "localname":  "CoverAbstract",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "xbrltype":  "stringItemType"
                },
            "dei_CurrentFiscalYearEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "End date of current fiscal year in the format --MM-DD.",
                            "label":  "Current Fiscal Year End Date",
                            "terseLabel":  "Current Fiscal Year End Date"
                            }
                        }
                    },
                "localname":  "CurrentFiscalYearEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "gMonthDayItemType"
                },
            "dei_DocumentFiscalPeriodFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
                            "label":  "Document Fiscal Period Focus",
                            "terseLabel":  "Document Fiscal Period Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalPeriodFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "fiscalPeriodItemType"
                },
            "dei_DocumentFiscalYearFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This is focus fiscal year of the document report in YYYY format.  For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus.  Example: 2006.",
                            "label":  "Document Fiscal Year Focus",
                            "terseLabel":  "Document Fiscal Year Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalYearFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "gYearItemType"
                },
            "dei_DocumentPeriodEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
                            "label":  "Document Period End Date",
                            "terseLabel":  "Document Period End Date"
                            }
                        }
                    },
                "localname":  "DocumentPeriodEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "dateItemType"
                },
            "dei_DocumentQuarterlyReport":  {
                "auth_ref":  [
                    "r449"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as an quarterly report.",
                            "label":  "Document Quarterly Report",
                            "terseLabel":  "Document Quarterly Report"
                            }
                        }
                    },
                "localname":  "DocumentQuarterlyReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentTransitionReport":  {
                "auth_ref":  [
                    "r450"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as a transition report.",
                            "label":  "Document Transition Report",
                            "terseLabel":  "Document Transition Report"
                            }
                        }
                    },
                "localname":  "DocumentTransitionReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentType":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc).  The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
                            "label":  "Document Type",
                            "terseLabel":  "Document Type"
                            }
                        }
                    },
                "localname":  "DocumentType",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "submissionTypeItemType"
                },
            "dei_EntityAddressAddressLine1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Address Line 1 such as Attn, Building Name, Street Name",
                            "label":  "Entity Address, Address Line One",
                            "terseLabel":  "Entity Address, Address Line One"
                            }
                        }
                    },
                "localname":  "EntityAddressAddressLine1",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressAddressLine2":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Address Line 2 such as Street or Suite number",
                            "label":  "Entity Address, Address Line Two",
                            "terseLabel":  "Entity Address, Address Line Two"
                            }
                        }
                    },
                "localname":  "EntityAddressAddressLine2",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressCityOrTown":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the City or Town",
                            "label":  "Entity Address, City or Town",
                            "terseLabel":  "Entity Address, City or Town"
                            }
                        }
                    },
                "localname":  "EntityAddressCityOrTown",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressPostalZipCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Code for the postal or zip code",
                            "label":  "Entity Address, Postal Zip Code",
                            "terseLabel":  "Entity Address, Postal Zip Code"
                            }
                        }
                    },
                "localname":  "EntityAddressPostalZipCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressStateOrProvince":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the state or province.",
                            "label":  "Entity Address, State or Province",
                            "terseLabel":  "Entity Address, State or Province"
                            }
                        }
                    },
                "localname":  "EntityAddressStateOrProvince",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "stateOrProvinceItemType"
                },
            "dei_EntityCentralIndexKey":  {
                "auth_ref":  [
                    "r447"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "centralIndexKeyItemType"
                },
            "dei_EntityCommonStockSharesOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report.  Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
                            "label":  "Entity Common Stock, Shares Outstanding",
                            "terseLabel":  "Entity Common Stock, Shares Outstanding"
                            }
                        }
                    },
                "localname":  "EntityCommonStockSharesOutstanding",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "dei_EntityCurrentReportingStatus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Current Reporting Status",
                            "terseLabel":  "Entity Current Reporting Status"
                            }
                        }
                    },
                "localname":  "EntityCurrentReportingStatus",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityEmergingGrowthCompany":  {
                "auth_ref":  [
                    "r447"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityFileNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commission file number.  The field allows up to 17 characters.  The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
                            "label":  "Entity File Number",
                            "terseLabel":  "Entity File Number"
                            }
                        }
                    },
                "localname":  "EntityFileNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "fileNumberItemType"
                },
            "dei_EntityFilerCategory":  {
                "auth_ref":  [
                    "r447"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "edgarStateCountryItemType"
                },
            "dei_EntityInteractiveDataCurrent":  {
                "auth_ref":  [
                    "r458"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
                            "label":  "Entity Interactive Data Current",
                            "terseLabel":  "Entity Interactive Data Current"
                            }
                        }
                    },
                "localname":  "EntityInteractiveDataCurrent",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityRegistrantName":  {
                "auth_ref":  [
                    "r447"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityShellCompany":  {
                "auth_ref":  [
                    "r447"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
                            "label":  "Entity Shell Company",
                            "terseLabel":  "Entity Shell Company"
                            }
                        }
                    },
                "localname":  "EntityShellCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntitySmallBusiness":  {
                "auth_ref":  [
                    "r447"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityTaxIdentificationNumber":  {
                "auth_ref":  [
                    "r447"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
                            "label":  "Entity Tax Identification Number",
                            "terseLabel":  "Entity Tax Identification Number"
                            }
                        }
                    },
                "localname":  "EntityTaxIdentificationNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "employerIdItemType"
                },
            "dei_LocalPhoneNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Local phone number for entity.",
                            "label":  "Local Phone Number",
                            "terseLabel":  "Local Phone Number"
                            }
                        }
                    },
                "localname":  "LocalPhoneNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_Security12bTitle":  {
                "auth_ref":  [
                    "r446"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Title of a 12(b) registered security.",
                            "label":  "Title of 12(b) Security",
                            "terseLabel":  "Title of 12(b) Security"
                            }
                        }
                    },
                "localname":  "Security12bTitle",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "securityTitleItemType"
                },
            "dei_SecurityExchangeName":  {
                "auth_ref":  [
                    "r448"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the Exchange on which a security is registered.",
                            "label":  "Security Exchange Name",
                            "terseLabel":  "Security Exchange Name"
                            }
                        }
                    },
                "localname":  "SecurityExchangeName",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "edgarExchangeCodeItemType"
                },
            "dei_TradingSymbol":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Trading symbol of an instrument as listed on an exchange.",
                            "label":  "Trading Symbol",
                            "terseLabel":  "Trading Symbol"
                            }
                        }
                    },
                "localname":  "TradingSymbol",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CoverPage"
                    ],
                "xbrltype":  "tradingSymbolItemType"
                },
            "ruby_AccruedExpensesAndOtherCurrentLiabilitiesExcludingCurrentOperatingLeaseLiabilities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of obligations incurred and payable, excluding current operating lease liabilities, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered.  Examples include taxes, interest, rent and utilities.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accrued Expenses And Other Current Liabilities Excluding Current Operating Lease Liabilities",
                            "terseLabel":  "Accrued expenses and other current liabilities",
                            "totalLabel":  "Accrued expenses and other current liabilities"
                            }
                        }
                    },
                "localname":  "AccruedExpensesAndOtherCurrentLiabilitiesExcludingCurrentOperatingLeaseLiabilities",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails",
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_AccruedGeneralAndAdministrativeExpensesCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails":  {
                        "order":  2.0,
                        "parentTag":  "ruby_AccruedExpensesAndOtherCurrentLiabilitiesExcludingCurrentOperatingLeaseLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of current portion of accrued general and administrative expenses as at the end of the reporting period.",
                            "label":  "Accrued General And Administrative Expenses Current",
                            "terseLabel":  "Accrued general and administrative expenses"
                            }
                        }
                    },
                "localname":  "AccruedGeneralAndAdministrativeExpensesCurrent",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_AccruedManufacturingFacilityExpensesCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails":  {
                        "order":  5.0,
                        "parentTag":  "ruby_AccruedExpensesAndOtherCurrentLiabilitiesExcludingCurrentOperatingLeaseLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of obligations incurred through that date and payable for manufacturing facility expenses.",
                            "label":  "Accrued Manufacturing Facility Expenses Current",
                            "terseLabel":  "Accrued manufacturing facility expenses"
                            }
                        }
                    },
                "localname":  "AccruedManufacturingFacilityExpensesCurrent",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_AccruedResearchAndDevelopmentCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails":  {
                        "order":  1.0,
                        "parentTag":  "ruby_AccruedExpensesAndOtherCurrentLiabilitiesExcludingCurrentOperatingLeaseLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of obligations incurred through that date and payable for research and development expenses.",
                            "label":  "Accrued Research and Development, Current",
                            "terseLabel":  "Accrued external research and development expenses"
                            }
                        }
                    },
                "localname":  "AccruedResearchAndDevelopmentCurrent",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_AggregateMilestonePaymentsAchievementOfSpecifiedMilestones":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate milestone payments to be made on achieving of specific .",
                            "label":  "Aggregate Milestone Payments, Achievement of Specified Milestones",
                            "terseLabel":  "Aggregate milestone payments"
                            }
                        }
                    },
                "localname":  "AggregateMilestonePaymentsAchievementOfSpecifiedMilestones",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_AggregateStockSharesAuthorized":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The maximum number of shares permitted to be issued by an entity's charter and bylaws.",
                            "label":  "Aggregate Stock, Shares Authorized",
                            "terseLabel":  "Shares authorized (in shares)"
                            }
                        }
                    },
                "localname":  "AggregateStockSharesAuthorized",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "ruby_AtMarketOfferingMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sale of stock by company under the distribution agreement through the Sales Agents, deemed to be an at the market offering.",
                            "label":  "At Market Offering [Member]",
                            "terseLabel":  "At the market offering"
                            }
                        }
                    },
                "localname":  "AtMarketOfferingMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_DebtInstrumentCovenantMinimumCashBalance":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Covenant, Minimum Cash Balance",
                            "label":  "Debt Instrument, Covenant, Minimum Cash Balance",
                            "terseLabel":  "Debt instrument, covenant, minimum cash balance"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCovenantMinimumCashBalance",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_DebtInstrumentDebtDefaultAdditionalInterestRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Additional interest rate that will be added to the existing interest rate 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 Additional Interest Rate",
                            "terseLabel":  "Debt default interest rate addition (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentDebtDefaultAdditionalInterestRate",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "ruby_DebtInstrumentFundedPerTranche":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of debt instrument funded per tranche.",
                            "label":  "Debt Instrument Funded Per Tranche",
                            "terseLabel":  "Principal amount of each tranche of term loans"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFundedPerTranche",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_DebtInstrumentNumberOfTranche":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the number of tranche.",
                            "label":  "Debt Instrument, Number Of Tranche",
                            "terseLabel":  "Number of tranche"
                            }
                        }
                    },
                "localname":  "DebtInstrumentNumberOfTranche",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "ruby_DebtInstrumentPrepaymentRateOne":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the prepayment rate if prepayment occurs in first year.",
                            "label":  "Debt Instrument, Prepayment Rate One",
                            "terseLabel":  "Prepayment fee in first year (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPrepaymentRateOne",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "ruby_DebtInstrumentPrepaymentRateThree":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the prepayment rate if prepayment occurs in third year.",
                            "label":  "Debt Instrument, Prepayment Rate Three",
                            "terseLabel":  "Prepayment fee in third year (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPrepaymentRateThree",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "ruby_DebtInstrumentPrepaymentRateTwo":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the prepayment rate if prepayment occurs in second year.",
                            "label":  "Debt Instrument, Prepayment Rate Two",
                            "terseLabel":  "Prepayment fee in second year (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentPrepaymentRateTwo",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "ruby_DeferredOfferingCostsIncludedInAccountsPayableAndAccruedExpenses":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of deferred offering cost included in accounts payable and accrued expenses.",
                            "label":  "Deferred Offering Costs Included in Accounts Payable and Accrued Expenses",
                            "terseLabel":  "Offering costs included in accounts payable and accrued expenses"
                            }
                        }
                    },
                "localname":  "DeferredOfferingCostsIncludedInAccountsPayableAndAccruedExpenses",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_IncreaseDecreaseInAccruedExpensesAndOtherCurrentLiabilities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  9.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 of accrued expenses and other current liabilities.",
                            "label":  "Increase (Decrease) in Accrued Expenses and Other Current Liabilities",
                            "terseLabel":  "Accrued expenses and other current liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccruedExpensesAndOtherCurrentLiabilities",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_IncreaseDecreaseOperatingLeaseRightOfUseAsset":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the value of operating lease, right-of-use-asset.",
                            "label":  "Increase Decrease, Operating Lease, Right Of Use Asset",
                            "negatedTerseLabel":  "Operating lease, right-of-use-asset"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseOperatingLeaseRightOfUseAsset",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_LaboratoryEquipmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tangible personal property used in laboratory.",
                            "label":  "Laboratory Equipment [Member]",
                            "terseLabel":  "Laboratory equipment"
                            }
                        }
                    },
                "localname":  "LaboratoryEquipmentMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_LendersMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to lenders.",
                            "label":  "Lenders [Member]",
                            "terseLabel":  "Lenders"
                            }
                        }
                    },
                "localname":  "LendersMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFourAndThereafter":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/DebtDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fourth fiscal year following the latest fiscal year and thereafter.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Long Term Debt Maturities Repayments Of Principal In Year Four And Thereafter",
                            "terseLabel":  "2026 and thereafter"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFourAndThereafter",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_ManufacturingEquipmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to manufacturing equipment.",
                            "label":  "Manufacturing Equipment [Member]",
                            "terseLabel":  "Manufacturing equipment"
                            }
                        }
                    },
                "localname":  "ManufacturingEquipmentMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_MaximumAggregateOfferingPriceOfStock":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maximum amount of aggregate offering price of the Company's common stock sold through Sales Agents under distribution agreement.",
                            "label":  "Maximum Aggregate Offering Price Of Stock",
                            "terseLabel":  "Aggregate offering price"
                            }
                        }
                    },
                "localname":  "MaximumAggregateOfferingPriceOfStock",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_NumberOfVotesPerCommonShare":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Votes Per Common Share",
                            "label":  "Number Of Votes Per Common Share",
                            "terseLabel":  "Number of votes per common share"
                            }
                        }
                    },
                "localname":  "NumberOfVotesPerCommonShare",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "ruby_PrepaidExpenseAndOtherCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "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 and other for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
                            "label":  "Prepaid Expense And Other, Current",
                            "terseLabel":  "Prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "PrepaidExpenseAndOtherCurrent",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_PrincipalAmountToBeFundedPerTrancheSecondAmendmentIncludingAdditionalLimitMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate principal amount to be funded, including the additional limit, per tranche.",
                            "label":  "Principal Amount To Be Funded Per Tranche Second Amendment Including Additional Limit [Member]",
                            "terseLabel":  "Principal amount to be funded per tranche, second amendment, including additional limit"
                            }
                        }
                    },
                "localname":  "PrincipalAmountToBeFundedPerTrancheSecondAmendmentIncludingAdditionalLimitMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_PublicOfferingMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information related to an unwritten public offering.",
                            "label":  "Public Offering [Member]",
                            "terseLabel":  "Offering"
                            }
                        }
                    },
                "localname":  "PublicOfferingMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_RestrictedCashForBenefitOfLandlord":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "a",
                            "label":  "Restricted Cash For The Benefit Of Landlord",
                            "terseLabel":  "Restricted cash for the benefit of its leased properties"
                            }
                        }
                    },
                "localname":  "RestrictedCashForBenefitOfLandlord",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the components of accrued liabilities and other current liabilities.",
                            "label":  "Schedule of Accrued Liabilities and Other Current Liabilities [Table Text Block]",
                            "terseLabel":  "Schedule of accrued expenses and other current liabilities"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "ruby_ServiceBasedStockOptionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock options awarded to employees on the basis of services.",
                            "label":  "Service Based Stock Options [Member]",
                            "terseLabel":  "Service based stock options"
                            }
                        }
                    },
                "localname":  "ServiceBasedStockOptionsMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_StockIssuanceCosts":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock Issuance Costs",
                            "label":  "Stock Issuance Costs",
                            "terseLabel":  "Stock issuance costs"
                            }
                        }
                    },
                "localname":  "StockIssuanceCosts",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "ruby_TermLoanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to term loan.",
                            "label":  "Term Loan [Member]",
                            "terseLabel":  "Term loan"
                            }
                        }
                    },
                "localname":  "TermLoanMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_TwoThousandAndEighteenCreditFacilityAmendmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to the amendment to the 2018 credit facility.",
                            "label":  "Two Thousand And Eighteen Credit Facility Amendment [Member]",
                            "terseLabel":  "2018 Credit facility amendment"
                            }
                        }
                    },
                "localname":  "TwoThousandAndEighteenCreditFacilityAmendmentMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_TwoThousandAndEighteenCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to 2018 credit facility.",
                            "label":  "Two Thousand And Eighteen Credit Facility [Member]",
                            "terseLabel":  "2018 Credit facility"
                            }
                        }
                    },
                "localname":  "TwoThousandAndEighteenCreditFacilityMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_USTreasuryBillsAndNotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to U.S. treasury bills and notes.",
                            "label":  "U S Treasury Bills And Notes [Member]",
                            "terseLabel":  "U.S. government treasury bills"
                            }
                        }
                    },
                "localname":  "USTreasuryBillsAndNotesMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "ruby_UnauditedInterimFinancialInformationPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for unaudited interim financial information.",
                            "label":  "Unaudited Interim Financial Information [Policy Text Block]",
                            "terseLabel":  "Unaudited Interim Financial Information"
                            }
                        }
                    },
                "localname":  "UnauditedInterimFinancialInformationPolicyTextBlock",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "ruby_WhiteheadInstituteForBiomedicalResearchMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to Whitehead Institute for Biomedical Research.",
                            "label":  "Whitehead Institute For Biomedical Research [Member]",
                            "terseLabel":  "WIBR"
                            }
                        }
                    },
                "localname":  "WhiteheadInstituteForBiomedicalResearchMember",
                "nsuri":  "http://www.rubiustx.com/20220630",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_CounterpartyNameAxis":  {
                "auth_ref":  [
                    "r32",
                    "r34",
                    "r88",
                    "r89",
                    "r208",
                    "r241"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Counterparty Name [Axis]",
                            "terseLabel":  "Counterparty Name [Axis]"
                            }
                        }
                    },
                "localname":  "CounterpartyNameAxis",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails",
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_MaximumMember":  {
                "auth_ref":  [
                    "r187",
                    "r188",
                    "r189",
                    "r190",
                    "r207",
                    "r240",
                    "r274",
                    "r275",
                    "r376",
                    "r377",
                    "r378",
                    "r379",
                    "r380",
                    "r381",
                    "r400",
                    "r429",
                    "r431",
                    "r443",
                    "r444"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Maximum [Member]",
                            "terseLabel":  "Maximum"
                            }
                        }
                    },
                "localname":  "MaximumMember",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails",
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MinimumMember":  {
                "auth_ref":  [
                    "r187",
                    "r188",
                    "r189",
                    "r190",
                    "r207",
                    "r240",
                    "r274",
                    "r275",
                    "r376",
                    "r377",
                    "r378",
                    "r379",
                    "r380",
                    "r381",
                    "r400",
                    "r429",
                    "r431",
                    "r443",
                    "r444"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Minimum [Member]",
                            "terseLabel":  "Minimum"
                            }
                        }
                    },
                "localname":  "MinimumMember",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ProductOrServiceAxis":  {
                "auth_ref":  [
                    "r144",
                    "r188",
                    "r189",
                    "r262",
                    "r263",
                    "r402",
                    "r428",
                    "r430"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Product and Service [Axis]",
                            "terseLabel":  "Product and Service [Axis]"
                            }
                        }
                    },
                "localname":  "ProductOrServiceAxis",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ProductsAndServicesDomain":  {
                "auth_ref":  [
                    "r144",
                    "r188",
                    "r189",
                    "r262",
                    "r263",
                    "r402",
                    "r428",
                    "r430"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Product and Service [Domain]",
                            "terseLabel":  "Product and Service [Domain]"
                            }
                        }
                    },
                "localname":  "ProductsAndServicesDomain",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_RangeAxis":  {
                "auth_ref":  [
                    "r182",
                    "r187",
                    "r188",
                    "r189",
                    "r190",
                    "r207",
                    "r240",
                    "r264",
                    "r274",
                    "r275",
                    "r300",
                    "r301",
                    "r302",
                    "r376",
                    "r377",
                    "r378",
                    "r379",
                    "r380",
                    "r381",
                    "r400",
                    "r429",
                    "r431",
                    "r443",
                    "r444"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statistical Measurement [Axis]",
                            "terseLabel":  "Statistical Measurement [Axis]"
                            }
                        }
                    },
                "localname":  "RangeAxis",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails",
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails",
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_RangeMember":  {
                "auth_ref":  [
                    "r182",
                    "r187",
                    "r188",
                    "r189",
                    "r190",
                    "r207",
                    "r240",
                    "r264",
                    "r274",
                    "r275",
                    "r300",
                    "r301",
                    "r302",
                    "r376",
                    "r377",
                    "r378",
                    "r379",
                    "r380",
                    "r381",
                    "r400",
                    "r429",
                    "r431",
                    "r443",
                    "r444"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statistical Measurement [Domain]",
                            "terseLabel":  "Range [Domain]"
                            }
                        }
                    },
                "localname":  "RangeMember",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails",
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails",
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_RepurchaseAgreementCounterpartyNameDomain":  {
                "auth_ref":  [
                    "r33",
                    "r34",
                    "r88",
                    "r89",
                    "r208",
                    "r241"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Counterparty Name [Domain]",
                            "terseLabel":  "Counterparty Name [Domain]"
                            }
                        }
                    },
                "localname":  "RepurchaseAgreementCounterpartyNameDomain",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails",
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccountingPoliciesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Accounting Policies [Abstract]",
                            "terseLabel":  "Accounting Policies [Abstract]"
                            }
                        }
                    },
                "localname":  "AccountingPoliciesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for accounts payable, accrued expenses, and other liabilities that are classified as current at the end of the reporting period.",
                            "label":  "Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]",
                            "terseLabel":  "Accrued Expenses and Other Current Liabilities"
                            }
                        }
                    },
                "localname":  "AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilities"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_AccountsPayableCurrent":  {
                "auth_ref":  [
                    "r21",
                    "r368"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accounts Payable, Current",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "AccountsPayableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r8",
                    "r178"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_PropertyPlantAndEquipmentNet",
                        "weight":  -1.0
                        }
                    },
                "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 and amortization"
                            }
                        }
                    },
                "localname":  "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r16",
                    "r38",
                    "r40",
                    "r41",
                    "r419",
                    "r436",
                    "r437"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end.  Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.  Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
                            "label":  "Accumulated Other Comprehensive Income (Loss), Net of Tax",
                            "terseLabel":  "Accumulated other comprehensive loss"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeMember":  {
                "auth_ref":  [
                    "r37",
                    "r41",
                    "r47",
                    "r48",
                    "r49",
                    "r92",
                    "r93",
                    "r94",
                    "r327",
                    "r365",
                    "r432",
                    "r433"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent.  Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
                            "label":  "AOCI Attributable to Parent [Member]",
                            "terseLabel":  "Accumulated other comprehensive income (loss)"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdditionalPaidInCapital":  {
                "auth_ref":  [
                    "r14",
                    "r368"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder.  Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
                            "label":  "Additional Paid in Capital",
                            "terseLabel":  "Additional paid-in capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapital",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdditionalPaidInCapitalMember":  {
                "auth_ref":  [
                    "r92",
                    "r93",
                    "r94",
                    "r311",
                    "r312",
                    "r313",
                    "r334"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue":  {
                "auth_ref":  [
                    "r276",
                    "r315",
                    "r316"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
                            "label":  "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition",
                            "terseLabel":  "Stock-based compensation expense"
                            }
                        }
                    },
                "localname":  "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AllocatedShareBasedCompensationExpense":  {
                "auth_ref":  [
                    "r305"
                    ],
                "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":  "Stock-based compensation expense"
                            }
                        }
                    },
                "localname":  "AllocatedShareBasedCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount":  {
                "auth_ref":  [
                    "r112"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
                            "label":  "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
                            "terseLabel":  "Antidilutive securities excluded from computation of of diluted weighted average shares outstanding (in shares)"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareAntidilutiveSecuritiesDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis":  {
                "auth_ref":  [
                    "r112"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of antidilutive security.",
                            "label":  "Antidilutive Securities [Axis]",
                            "terseLabel":  "Antidilutive Securities [Axis]"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareAntidilutiveSecuritiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]",
                            "terseLabel":  "Diluted net loss per share attributable to common stockholders"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareAntidilutiveSecuritiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AntidilutiveSecuritiesNameDomain":  {
                "auth_ref":  [
                    "r112"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
                            "label":  "Antidilutive Securities, Name [Domain]",
                            "terseLabel":  "Antidilutive Securities, Name [Domain]"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareAntidilutiveSecuritiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_Assets":  {
                "auth_ref":  [
                    "r10",
                    "r87",
                    "r133",
                    "r136",
                    "r142",
                    "r161",
                    "r193",
                    "r194",
                    "r195",
                    "r196",
                    "r197",
                    "r198",
                    "r199",
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r323",
                    "r328",
                    "r345",
                    "r366",
                    "r368",
                    "r404",
                    "r416"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized.  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets",
                            "totalLabel":  "Total assets"
                            }
                        }
                    },
                "localname":  "Assets",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets [Abstract]",
                            "terseLabel":  "Assets"
                            }
                        }
                    },
                "localname":  "AssetsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AssetsCurrent":  {
                "auth_ref":  [
                    "r4",
                    "r20",
                    "r87",
                    "r161",
                    "r193",
                    "r194",
                    "r195",
                    "r196",
                    "r197",
                    "r198",
                    "r199",
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r323",
                    "r328",
                    "r345",
                    "r366",
                    "r368"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer).  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets, Current",
                            "totalLabel":  "Total current assets"
                            }
                        }
                    },
                "localname":  "AssetsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsCurrentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets, Current [Abstract]",
                            "terseLabel":  "Current assets:"
                            }
                        }
                    },
                "localname":  "AssetsCurrentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AssetsFairValueDisclosure":  {
                "auth_ref":  [
                    "r337"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets, Fair Value Disclosure",
                            "totalLabel":  "Assets"
                            }
                        }
                    },
                "localname":  "AssetsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsFairValueDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets, Fair Value Disclosure [Abstract]",
                            "terseLabel":  "Assets:"
                            }
                        }
                    },
                "localname":  "AssetsFairValueDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax":  {
                "auth_ref":  [
                    "r151"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax",
                            "terseLabel":  "Gross Unrealized Gains"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax":  {
                "auth_ref":  [
                    "r152"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax",
                            "negatedLabel":  "Gross Unrealized Losses"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis":  {
                "auth_ref":  [
                    "r149",
                    "r170"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Debt Securities, Available-for-Sale, Amortized Cost",
                            "terseLabel":  "Amortized Cost"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent":  {
                "auth_ref":  [
                    "r148",
                    "r170"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        },
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as current.",
                            "label":  "Debt Securities, Available-for-Sale, Current",
                            "terseLabel":  "Investments",
                            "verboseLabel":  "Investments"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtSecuritiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS",
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Debt Securities, Available-for-Sale, Fair Value to Amortized Cost, after Allowance for Credit Loss [Abstract]",
                            "terseLabel":  "Marketable securities"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AwardTypeAxis":  {
                "auth_ref":  [
                    "r278",
                    "r279",
                    "r280",
                    "r281",
                    "r282",
                    "r283",
                    "r284",
                    "r285",
                    "r286",
                    "r287",
                    "r288",
                    "r289",
                    "r290",
                    "r291",
                    "r292",
                    "r293",
                    "r294",
                    "r295",
                    "r296",
                    "r297",
                    "r298",
                    "r299",
                    "r300",
                    "r301",
                    "r302",
                    "r303"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of award under share-based payment arrangement.",
                            "label":  "Award Type [Axis]",
                            "terseLabel":  "Award Type [Axis]"
                            }
                        }
                    },
                "localname":  "AwardTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock":  {
                "auth_ref":  [
                    "r2",
                    "r91",
                    "r127"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the business description and basis of presentation 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.  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).",
                            "label":  "Business Description and Basis of Presentation [Text Block]",
                            "terseLabel":  "Nature of the Business and Basis of Presentation"
                            }
                        }
                    },
                "localname":  "BusinessDescriptionAndBasisOfPresentationTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CapitalExpendituresIncurredButNotYetPaid":  {
                "auth_ref":  [
                    "r79",
                    "r80",
                    "r81"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Future cash outflow to pay for purchases of fixed assets that have occurred.",
                            "label":  "Capital Expenditures Incurred but Not yet Paid",
                            "terseLabel":  "Purchases of property, plant and equipment included in accounts payable or accrued expenses"
                            }
                        }
                    },
                "localname":  "CapitalExpendituresIncurredButNotYetPaid",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsAtCarryingValue":  {
                "auth_ref":  [
                    "r3",
                    "r6",
                    "r76"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "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 and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAtCarryingValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash and Cash Equivalents, Fair Value Disclosure",
                            "terseLabel":  "Cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsPolicyTextBlock":  {
                "auth_ref":  [
                    "r77"
                    ],
                "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 Equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy":  {
                "auth_ref":  [
                    "r77",
                    "r403"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Entity's cash and cash equivalents accounting policy with respect to restricted balances.  Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
                            "label":  "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
                            "terseLabel":  "Restricted Cash"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CashCashEquivalentsAndShortTermInvestments":  {
                "auth_ref":  [
                    "r20"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cash includes currency on hand as well as demand deposits with banks or financial institutions.  It also includes other kinds of accounts that have the general characteristics of demand deposits in that the customer may deposit additional funds at any time and effectively may withdraw funds at any time without prior notice or penalty.  Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid Investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates.  Generally, only investments with original maturities of three months or less qualify under that definition.  Original maturity means original maturity to the entity holding the investment.  For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents.  However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months.  Short-term investments, exclusive of cash equivalents, generally consist of marketable securities intended to be sold within one year (or the normal operating cycle if longer) and may include trading securities, available-for-sale securities, or held-to-maturity securities (if maturing within one year), as applicable.",
                            "label":  "Cash, Cash Equivalents, and Short-Term Investments",
                            "terseLabel":  "Cash, cash equivalents, and short-term investments"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsAndShortTermInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r70",
                    "r76",
                    "r82"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage.  Excludes amount for disposal group and discontinued operations.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
                            "periodEndLabel":  "Cash, cash equivalents and restricted cash at end of period",
                            "periodStartLabel":  "Cash, cash equivalents and restricted cash at beginning of period",
                            "terseLabel":  "Cash, cash equivalents and restricted cash"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect":  {
                "auth_ref":  [
                    "r70",
                    "r346"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
                            "totalLabel":  "Net increase (decrease) in cash, cash equivalents and restricted cash"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
                            "terseLabel":  "Supplemental disclosure of non-cash investing and financing information:"
                            }
                        }
                    },
                "localname":  "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems":  {
                "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":  "Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]",
                            "terseLabel":  "Collaborative Arrangements and Non-collaborative Arrangement"
                            }
                        }
                    },
                "localname":  "CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingencies":  {
                "auth_ref":  [
                    "r29",
                    "r407",
                    "r423"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  3.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 and contingencies (see Note 9)"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingencies",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Commitments and Contingencies Disclosure [Abstract]",
                            "terseLabel":  "Commitments and Contingencies Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock":  {
                "auth_ref":  [
                    "r184",
                    "r185",
                    "r186",
                    "r191",
                    "r439"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for commitments and contingencies.",
                            "label":  "Commitments and Contingencies Disclosure [Text Block]",
                            "terseLabel":  "Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingencies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CommonStockMember":  {
                "auth_ref":  [
                    "r92",
                    "r93",
                    "r334"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock that is subordinate to all other stock of the issuer.",
                            "label":  "Common Stock [Member]",
                            "terseLabel":  "Common stock"
                            }
                        }
                    },
                "localname":  "CommonStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r13"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face amount or stated value per share of common stock.",
                            "label":  "Common Stock, Par or Stated Value Per Share",
                            "terseLabel":  "Common stock, par value (in dollars per share)"
                            }
                        }
                    },
                "localname":  "CommonStockParOrStatedValuePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical",
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockSharesAuthorized":  {
                "auth_ref":  [
                    "r13"
                    ],
                "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, share authorized (in shares)",
                            "verboseLabel":  "Common stock, authorized (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical",
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesIssued":  {
                "auth_ref":  [
                    "r13"
                    ],
                "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 (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesOutstanding":  {
                "auth_ref":  [
                    "r13",
                    "r254"
                    ],
                "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 (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockValue":  {
                "auth_ref":  [
                    "r13",
                    "r368"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "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":  "Common stock, $0.001 par value; 150,000,000 shares authorized at June\u00a030, 2022 and December\u00a031, 2021; 90,357,032 and 90,063,770 shares issued and outstanding at June\u00a030, 2022 and December\u00a031, 2021, respectively"
                            }
                        }
                    },
                "localname":  "CommonStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTax":  {
                "auth_ref":  [
                    "r43",
                    "r45",
                    "r46",
                    "r52",
                    "r409",
                    "r425"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity.  Excludes changes in equity resulting from investments by owners and distributions to owners.",
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
                            "totalLabel":  "Comprehensive loss"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTaxAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract]",
                            "terseLabel":  "Comprehensive loss:"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTaxAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "ComputerEquipmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConcentrationRiskCreditRisk":  {
                "auth_ref":  [
                    "r121",
                    "r415"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for credit risk.",
                            "label":  "Concentration Risk, Credit Risk, Policy [Policy Text Block]",
                            "terseLabel":  "Concentrations of Credit Risk and of Significant Suppliers"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskCreditRisk",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ConstructionInProgressMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Structure or a modification to a structure under construction.  Includes recently completed structures or modifications to structures that have not been placed into service.",
                            "label":  "Construction in Progress [Member]",
                            "terseLabel":  "Construction-in-progress"
                            }
                        }
                    },
                "localname":  "ConstructionInProgressMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CreditFacilityAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Axis]",
                            "terseLabel":  "Credit Facility [Axis]"
                            }
                        }
                    },
                "localname":  "CreditFacilityAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CreditFacilityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Domain]",
                            "terseLabel":  "Credit Facility [Domain]"
                            }
                        }
                    },
                "localname":  "CreditFacilityDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Debt Disclosure [Abstract]",
                            "terseLabel":  "Debt Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "DebtDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtDisclosureTextBlock":  {
                "auth_ref":  [
                    "r84",
                    "r210",
                    "r211",
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r216",
                    "r221",
                    "r228",
                    "r229",
                    "r231",
                    "r237"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/Debt"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
                            "label":  "Debt Instrument, Basis Spread on Variable Rate",
                            "terseLabel":  "Variable interest rate (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentBasisSpreadOnVariableRate1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentFaceAmount":  {
                "auth_ref":  [
                    "r204",
                    "r233",
                    "r234",
                    "r356",
                    "r358",
                    "r359"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face (par) amount of debt instrument at time of issuance.",
                            "label":  "Debt Instrument, Face Amount",
                            "terseLabel":  "Principal amount"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFaceAmount",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentInterestRateStatedPercentage":  {
                "auth_ref":  [
                    "r26",
                    "r205"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contractual interest rate for funds borrowed, under the debt agreement.",
                            "label":  "Debt Instrument, Interest Rate, Stated Percentage",
                            "verboseLabel":  "Interest rate (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateStatedPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Debt Instrument [Line Items]",
                            "terseLabel":  "Debt"
                            }
                        }
                    },
                "localname":  "DebtInstrumentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentTable":  {
                "auth_ref":  [
                    "r27",
                    "r86",
                    "r90",
                    "r204",
                    "r205",
                    "r206",
                    "r207",
                    "r208",
                    "r209",
                    "r211",
                    "r217",
                    "r218",
                    "r219",
                    "r220",
                    "r222",
                    "r223",
                    "r224",
                    "r225",
                    "r226",
                    "r227",
                    "r230",
                    "r233",
                    "r234",
                    "r235",
                    "r236",
                    "r255",
                    "r256",
                    "r257",
                    "r258",
                    "r355",
                    "r356",
                    "r358",
                    "r359",
                    "r414"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Schedule of Long-Term Debt Instruments [Table]",
                            "terseLabel":  "Schedule of Long-term Debt Instruments [Table]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss":  {
                "auth_ref":  [
                    "r150",
                    "r170",
                    "r173",
                    "r174"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Debt Securities, Available-for-Sale, Allowance for Credit Loss",
                            "terseLabel":  "Credit Losses"
                            }
                        }
                    },
                "localname":  "DebtSecuritiesAvailableForSaleAllowanceForCreditLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredFinanceCostsNet":  {
                "auth_ref":  [
                    "r217",
                    "r357"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated amortization, of debt issuance costs.  Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
                            "label":  "Debt Issuance Costs, Net",
                            "terseLabel":  "Issuance costs"
                            }
                        }
                    },
                "localname":  "DeferredFinanceCostsNet",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedContributionPlanCostRecognized":  {
                "auth_ref":  [
                    "r273"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost for defined contribution plan.",
                            "label":  "Defined Contribution Plan, Cost",
                            "terseLabel":  "Company matching contribution"
                            }
                        }
                    },
                "localname":  "DefinedContributionPlanCostRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan.",
                            "label":  "Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay",
                            "terseLabel":  "Percentage of employee's gross pay match (as a percent)"
                            }
                        }
                    },
                "localname":  "DefinedContributionPlanEmployerMatchingContributionPercent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage employer matches of the employee's percentage contribution matched.",
                            "label":  "Defined Contribution Plan, Employer Matching Contribution, Percent of Match",
                            "terseLabel":  "Employer matching contribution (as a percent)"
                            }
                        }
                    },
                "localname":  "DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DepreciationDepletionAndAmortization":  {
                "auth_ref":  [
                    "r74",
                    "r132"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
                            "label":  "Depreciation, Depletion and Amortization",
                            "terseLabel":  "Depreciation and amortization expense"
                            }
                        }
                    },
                "localname":  "DepreciationDepletionAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock":  {
                "auth_ref":  [
                    "r277",
                    "r278",
                    "r306",
                    "r307",
                    "r309",
                    "r317"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for share-based payment arrangement.",
                            "label":  "Share-Based Payment Arrangement [Text Block]",
                            "terseLabel":  "Stock-Based Compensation"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-Based Payment Arrangement [Abstract]",
                            "terseLabel":  "Share-based Payment Arrangement [Abstract]"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Earnings Per Share [Abstract]",
                            "terseLabel":  "Earnings Per Share [Abstract]"
                            }
                        }
                    },
                "localname":  "EarningsPerShareAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasic":  {
                "auth_ref":  [
                    "r53",
                    "r97",
                    "r98",
                    "r99",
                    "r100",
                    "r101",
                    "r105",
                    "r107",
                    "r109",
                    "r110",
                    "r111",
                    "r115",
                    "r116",
                    "r335",
                    "r336",
                    "r410",
                    "r426"
                    ],
                "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":  "Net loss per share, basic (in dollars per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasic",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.rubiustx.com/role/NetLossperShareWeightedAverageSharesDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareDiluted":  {
                "auth_ref":  [
                    "r53",
                    "r97",
                    "r98",
                    "r99",
                    "r100",
                    "r101",
                    "r107",
                    "r109",
                    "r110",
                    "r111",
                    "r115",
                    "r116",
                    "r335",
                    "r336",
                    "r410",
                    "r426"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Diluted",
                            "terseLabel":  "Net loss per share, diluted (in dollars per share)",
                            "verboseLabel":  "Net loss per share, diluted (in dollars per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.rubiustx.com/role/NetLossperShareWeightedAverageSharesDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r112",
                    "r113",
                    "r114",
                    "r117"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for earnings per share.",
                            "label":  "Earnings Per Share [Text Block]",
                            "terseLabel":  "Net Loss per Share"
                            }
                        }
                    },
                "localname":  "EarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShare"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_EmployeeRelatedLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r24"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails":  {
                        "order":  3.0,
                        "parentTag":  "ruby_AccruedExpensesAndOtherCurrentLiabilitiesExcludingCurrentOperatingLeaseLiabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Employee-related Liabilities, Current",
                            "terseLabel":  "Accrued employee compensation and benefits"
                            }
                        }
                    },
                "localname":  "EmployeeRelatedLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems":  {
                "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":  "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]",
                            "terseLabel":  "Stock-based compensation expense"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized":  {
                "auth_ref":  [
                    "r308"
                    ],
                "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 compensation cost"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1":  {
                "auth_ref":  [
                    "r308"
                    ],
                "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":  "Unrecognized compensation cost expected to be recognized over a weighted average period"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_EmployeeStockOptionMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
                            "label":  "Share-Based Payment Arrangement, Option [Member]",
                            "terseLabel":  "Stock options"
                            }
                        }
                    },
                "localname":  "EmployeeStockOptionMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EquityComponentDomain":  {
                "auth_ref":  [
                    "r0",
                    "r47",
                    "r48",
                    "r49",
                    "r92",
                    "r93",
                    "r94",
                    "r96",
                    "r102",
                    "r104",
                    "r118",
                    "r164",
                    "r254",
                    "r259",
                    "r311",
                    "r312",
                    "r313",
                    "r319",
                    "r320",
                    "r334",
                    "r347",
                    "r348",
                    "r349",
                    "r350",
                    "r351",
                    "r352",
                    "r365",
                    "r432",
                    "r433",
                    "r434"
                    ],
                "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]",
                            "terseLabel":  "Equity Component [Domain]"
                            }
                        }
                    },
                "localname":  "EquityComponentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems":  {
                "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":  "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
                            "terseLabel":  "Fair value of financial assets and liabilities"
                            }
                        }
                    },
                "localname":  "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByBalanceSheetGroupingTable":  {
                "auth_ref":  [
                    "r337",
                    "r343",
                    "r344"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
                            "label":  "Fair Value, by Balance Sheet Grouping [Table]",
                            "terseLabel":  "Fair Value, by Balance Sheet Grouping [Table]"
                            }
                        }
                    },
                "localname":  "FairValueByBalanceSheetGroupingTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByFairValueHierarchyLevelAxis":  {
                "auth_ref":  [
                    "r219",
                    "r233",
                    "r234",
                    "r265",
                    "r266",
                    "r267",
                    "r268",
                    "r269",
                    "r270",
                    "r271",
                    "r272",
                    "r338",
                    "r373",
                    "r374",
                    "r375"
                    ],
                "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]",
                            "terseLabel":  "Fair Value Hierarchy and NAV [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByFairValueHierarchyLevelAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementFrequencyAxis":  {
                "auth_ref":  [
                    "r337",
                    "r338",
                    "r339",
                    "r340",
                    "r342"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by measurement frequency.",
                            "label":  "Measurement Frequency [Axis]",
                            "terseLabel":  "Measurement Frequency [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementFrequencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Fair Value Disclosures [Abstract]",
                            "terseLabel":  "Fair Value Disclosures [Abstract]"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r341"
                    ],
                "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":  "Investments and Fair Value of Financial Assets and Liabilities"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilities"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueInputsLevel1Member":  {
                "auth_ref":  [
                    "r219",
                    "r265",
                    "r266",
                    "r271",
                    "r272",
                    "r338",
                    "r373"
                    ],
                "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":  "Level 1"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel1Member",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsLevel2Member":  {
                "auth_ref":  [
                    "r219",
                    "r233",
                    "r234",
                    "r265",
                    "r266",
                    "r271",
                    "r272",
                    "r338",
                    "r374"
                    ],
                "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":  "Level 2"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel2Member",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsLevel3Member":  {
                "auth_ref":  [
                    "r219",
                    "r233",
                    "r234",
                    "r265",
                    "r266",
                    "r267",
                    "r268",
                    "r269",
                    "r270",
                    "r271",
                    "r272",
                    "r338",
                    "r375"
                    ],
                "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":  "Level 3"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel3Member",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementFrequencyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement frequency.",
                            "label":  "Measurement Frequency [Domain]",
                            "terseLabel":  "Fair Value, Measurement Frequency [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementFrequencyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "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 Measurements"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueMeasurementsFairValueHierarchyDomain":  {
                "auth_ref":  [
                    "r219",
                    "r233",
                    "r234",
                    "r265",
                    "r266",
                    "r267",
                    "r268",
                    "r269",
                    "r270",
                    "r271",
                    "r272",
                    "r373",
                    "r374",
                    "r375"
                    ],
                "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]",
                            "terseLabel":  "Fair Value Hierarchy and NAV [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsFairValueHierarchyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsRecurringMember":  {
                "auth_ref":  [
                    "r341",
                    "r342"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Frequent fair value measurement.  Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
                            "label":  "Fair Value, Recurring [Member]",
                            "terseLabel":  "Recurring"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsRecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancialInstrumentAxis":  {
                "auth_ref":  [
                    "r153",
                    "r154",
                    "r156",
                    "r157",
                    "r158",
                    "r165",
                    "r166",
                    "r167",
                    "r168",
                    "r169",
                    "r171",
                    "r172",
                    "r175",
                    "r176",
                    "r230",
                    "r252",
                    "r332",
                    "r370",
                    "r371",
                    "r372",
                    "r373",
                    "r374",
                    "r375",
                    "r376",
                    "r377",
                    "r378",
                    "r379",
                    "r380",
                    "r381",
                    "r382",
                    "r383",
                    "r384",
                    "r385",
                    "r386",
                    "r387",
                    "r388",
                    "r389",
                    "r390",
                    "r391",
                    "r392",
                    "r393",
                    "r394",
                    "r395",
                    "r396",
                    "r397",
                    "r398",
                    "r399",
                    "r451",
                    "r452",
                    "r453",
                    "r454",
                    "r455",
                    "r456",
                    "r457"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of financial instrument.",
                            "label":  "Financial Instrument [Axis]",
                            "terseLabel":  "Financial Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "FinancialInstrumentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "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 and fixtures"
                            }
                        }
                    },
                "localname":  "FurnitureAndFixturesMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_GeneralAndAdministrativeExpense":  {
                "auth_ref":  [
                    "r56"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingExpenses",
                        "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GeneralAndAdministrativeExpenseMember":  {
                "auth_ref":  [
                    "r54"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing general and administrative expense.",
                            "label":  "General and Administrative Expense [Member]",
                            "terseLabel":  "General and administrative expenses"
                            }
                        }
                    },
                "localname":  "GeneralAndAdministrativeExpenseMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "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":  "IPO"
                            }
                        }
                    },
                "localname":  "IPOMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_IncomeStatementAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Income Statement [Abstract]",
                            "terseLabel":  "Income Statement [Abstract]"
                            }
                        }
                    },
                "localname":  "IncomeStatementAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeStatementLocationAxis":  {
                "auth_ref":  [
                    "r180",
                    "r183"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by location in the income statement.",
                            "label":  "Income Statement Location [Axis]",
                            "terseLabel":  "Income Statement Location [Axis]"
                            }
                        }
                    },
                "localname":  "IncomeStatementLocationAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeStatementLocationDomain":  {
                "auth_ref":  [
                    "r183"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Location in the income statement.",
                            "label":  "Income Statement Location [Domain]",
                            "terseLabel":  "Income Statement Location [Domain]"
                            }
                        }
                    },
                "localname":  "IncomeStatementLocationDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsPayable":  {
                "auth_ref":  [
                    "r73"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.",
                            "label":  "Increase (Decrease) in Accounts Payable",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsPayable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Increase (Decrease) in Operating Capital [Abstract]",
                            "terseLabel":  "Changes in operating assets and liabilities:"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOperatingCapitalAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncreaseDecreaseInOperatingLeaseLiability":  {
                "auth_ref":  [
                    "r73",
                    "r364"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in obligation for operating lease.",
                            "label":  "Increase (Decrease) in Operating Lease Liability",
                            "terseLabel":  "Operating lease liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in noncurrent operating liabilities classified as other.",
                            "label":  "Increase (Decrease) in Other Noncurrent Liabilities",
                            "verboseLabel":  "Other long-term liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOtherNoncurrentLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets":  {
                "auth_ref":  [
                    "r73"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  6.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 current assets"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
                            "terseLabel":  "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInStockholdersEquityRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InterestExpense":  {
                "auth_ref":  [
                    "r50",
                    "r131",
                    "r354",
                    "r357",
                    "r411"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NonoperatingIncomeExpense",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the cost of borrowed funds accounted for as interest expense.",
                            "label":  "Interest Expense",
                            "negatedLabel":  "Interest expense"
                            }
                        }
                    },
                "localname":  "InterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestPaidNet":  {
                "auth_ref":  [
                    "r68",
                    "r71",
                    "r78"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity.  Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
                            "label":  "Interest Paid, Excluding Capitalized Interest, Operating Activities",
                            "terseLabel":  "Cash paid for interest"
                            }
                        }
                    },
                "localname":  "InterestPaidNet",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentIncomeInterest":  {
                "auth_ref":  [
                    "r57",
                    "r130"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NonoperatingIncomeExpense",
                        "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium":  {
                "auth_ref":  [
                    "r59"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accretion (amortization) of purchase discount (premium) on nonoperating securities.",
                            "label":  "Investment Income, Net, Amortization of Discount and Premium",
                            "negatedTerseLabel":  "Amortization (accretion) of premium (discount) on investments"
                            }
                        }
                    },
                "localname":  "InvestmentIncomeNetAmortizationOfDiscountAndPremium",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentPolicyTextBlock":  {
                "auth_ref":  [
                    "r160",
                    "r427"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for investment in financial asset.",
                            "label":  "Investment, Policy [Policy Text Block]",
                            "terseLabel":  "Investments"
                            }
                        }
                    },
                "localname":  "InvestmentPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_InvestmentTableTextBlock":  {
                "auth_ref":  [
                    "r155",
                    "r159",
                    "r162",
                    "r163"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of investment.",
                            "label":  "Investment [Table Text Block]",
                            "terseLabel":  "Schedule of investments by security type"
                            }
                        }
                    },
                "localname":  "InvestmentTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LandMember":  {
                "auth_ref":  [
                    "r263"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Part of earth's surface not covered by water.",
                            "label":  "Land [Member]",
                            "terseLabel":  "Land"
                            }
                        }
                    },
                "localname":  "LandMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LeaseholdImprovementsMember":  {
                "auth_ref":  [
                    "r177"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Additions or improvements to assets held under a lease arrangement.",
                            "label":  "Leasehold Improvements [Member]",
                            "terseLabel":  "Leasehold improvements"
                            }
                        }
                    },
                "localname":  "LeaseholdImprovementsMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LesseeLeasesPolicyTextBlock":  {
                "auth_ref":  [
                    "r363"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
                            "label":  "Lessee, Leases [Policy Text Block]",
                            "terseLabel":  "Leases"
                            }
                        }
                    },
                "localname":  "LesseeLeasesPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_Liabilities":  {
                "auth_ref":  [
                    "r23",
                    "r87",
                    "r137",
                    "r161",
                    "r193",
                    "r194",
                    "r195",
                    "r197",
                    "r198",
                    "r199",
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r324",
                    "r328",
                    "r329",
                    "r345",
                    "r366",
                    "r367"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquity":  {
                "auth_ref":  [
                    "r19",
                    "r87",
                    "r161",
                    "r345",
                    "r368",
                    "r406",
                    "r421"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "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' equity"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities and Equity [Abstract]",
                            "terseLabel":  "Liabilities and Stockholders' Equity"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesCurrent":  {
                "auth_ref":  [
                    "r5",
                    "r25",
                    "r87",
                    "r161",
                    "r193",
                    "r194",
                    "r195",
                    "r197",
                    "r198",
                    "r199",
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r324",
                    "r328",
                    "r329",
                    "r345",
                    "r366",
                    "r367",
                    "r368"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
                            "label":  "Liabilities, Current",
                            "totalLabel":  "Total current liabilities"
                            }
                        }
                    },
                "localname":  "LiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesCurrentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities, Current [Abstract]",
                            "terseLabel":  "Current liabilities:"
                            }
                        }
                    },
                "localname":  "LiabilitiesCurrentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LicenseAndMaintenanceMember":  {
                "auth_ref":  [
                    "r263"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Right to use intangible asset and process of preserving asset.  Intangible asset includes, but is not limited to, patent, copyright, technology, manufacturing process, software or trademark.",
                            "label":  "License and Maintenance [Member]",
                            "terseLabel":  "License maintenance fees"
                            }
                        }
                    },
                "localname":  "LicenseAndMaintenanceMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity":  {
                "auth_ref":  [
                    "r22"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
                            "label":  "Line of Credit Facility, Maximum Borrowing Capacity",
                            "terseLabel":  "Maximum amount outstanding"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LondonInterbankOfferedRateLIBORMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
                            "label":  "London Interbank Offered Rate (LIBOR) [Member]",
                            "terseLabel":  "One-month U.S.  LIBOR"
                            }
                        }
                    },
                "localname":  "LondonInterbankOfferedRateLIBORMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LongTermDebt":  {
                "auth_ref":  [
                    "r11",
                    "r218",
                    "r232",
                    "r233",
                    "r234",
                    "r405",
                    "r417"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/DebtDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt.  Excludes lease obligation.",
                            "label":  "Long-Term Debt",
                            "totalLabel":  "Total debt"
                            }
                        }
                    },
                "localname":  "LongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths":  {
                "auth_ref":  [
                    "r90",
                    "r192",
                    "r223"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/DebtDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, Year One",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree":  {
                "auth_ref":  [
                    "r90",
                    "r192",
                    "r223"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/DebtDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, Year Three",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo":  {
                "auth_ref":  [
                    "r90",
                    "r192",
                    "r223"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/DebtDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, Year Two",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear":  {
                "auth_ref":  [
                    "r90"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/DebtDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in remainder of current fiscal year.",
                            "label":  "Long-Term Debt, Maturity, Remainder of Fiscal Year",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtNoncurrent":  {
                "auth_ref":  [
                    "r11"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent.  Excludes lease obligation.",
                            "label":  "Long-Term Debt, Excluding Current Maturities",
                            "terseLabel":  "Long-term debt, net of discount"
                            }
                        }
                    },
                "localname":  "LongTermDebtNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ManufacturingFacilityMember":  {
                "auth_ref":  [
                    "r177"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Structure used in the manufacturing of goods.",
                            "label":  "Manufacturing Facility [Member]",
                            "terseLabel":  "Manufacturing facility"
                            }
                        }
                    },
                "localname":  "ManufacturingFacilityMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MaturitiesOfLongTermDebtAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Maturities of Long-Term Debt [Abstract]",
                            "terseLabel":  "Estimated future principal payments due"
                            }
                        }
                    },
                "localname":  "MaturitiesOfLongTermDebtAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_MoneyMarketFundsMember":  {
                "auth_ref":  [
                    "r265"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fund that invests in short-term money-market instruments, for example, but not limited to, commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and other highly liquid securities.",
                            "label":  "Money Market Funds [Member]",
                            "terseLabel":  "U.S. government money market funds"
                            }
                        }
                    },
                "localname":  "MoneyMarketFundsMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivities":  {
                "auth_ref":  [
                    "r70"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from financing activities, including discontinued operations.  Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
                            "label":  "Net Cash Provided by (Used in) Financing Activities",
                            "totalLabel":  "Net cash provided by financing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "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:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivities":  {
                "auth_ref":  [
                    "r70"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from investing activities, including discontinued operations.  Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
                            "label":  "Net Cash Provided by (Used in) Investing Activities",
                            "totalLabel":  "Net cash provided by (used in) investing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "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:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivities":  {
                "auth_ref":  [
                    "r70",
                    "r72",
                    "r75"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from operating activities, including discontinued operations.  Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
                            "label":  "Net Cash Provided by (Used in) Operating Activities",
                            "terseLabel":  "Net cash (used in) operating activities",
                            "totalLabel":  "Net cash used in operating activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "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:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLoss":  {
                "auth_ref":  [
                    "r1",
                    "r42",
                    "r44",
                    "r49",
                    "r51",
                    "r75",
                    "r87",
                    "r95",
                    "r97",
                    "r98",
                    "r99",
                    "r100",
                    "r103",
                    "r104",
                    "r108",
                    "r133",
                    "r135",
                    "r138",
                    "r141",
                    "r143",
                    "r161",
                    "r193",
                    "r194",
                    "r195",
                    "r197",
                    "r198",
                    "r199",
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r336",
                    "r345",
                    "r408",
                    "r424"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
                            "label":  "Net Income (Loss) Attributable to Parent",
                            "negatedLabel":  "Net loss",
                            "terseLabel":  "Net loss",
                            "totalLabel":  "Net loss",
                            "verboseLabel":  "Net loss"
                            }
                        }
                    },
                "localname":  "NetIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails",
                    "http://www.rubiustx.com/role/NetLossperShareWeightedAverageSharesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Income (Loss) Available to Common Stockholders, Basic [Abstract]",
                            "terseLabel":  "Numerator:"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersBasicAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareWeightedAverageSharesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r58"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
                            "label":  "Nonoperating Income (Expense)",
                            "totalLabel":  "Total other income (expense), net"
                            }
                        }
                    },
                "localname":  "NonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NonoperatingIncomeExpenseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Nonoperating Income (Expense) [Abstract]",
                            "terseLabel":  "Other income (expense):"
                            }
                        }
                    },
                "localname":  "NonoperatingIncomeExpenseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingExpenses":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "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.  Includes selling, general and administrative expense.",
                            "label":  "Operating Expenses",
                            "totalLabel":  "Total operating expenses"
                            }
                        }
                    },
                "localname":  "OperatingExpenses",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingIncomeLoss":  {
                "auth_ref":  [
                    "r133",
                    "r135",
                    "r138",
                    "r141",
                    "r143"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityCurrent":  {
                "auth_ref":  [
                    "r361"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
                            "label":  "Operating Lease, Liability, Current",
                            "terseLabel":  "Operating lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityNoncurrent":  {
                "auth_ref":  [
                    "r361"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
                            "label":  "Operating Lease, Liability, Noncurrent",
                            "terseLabel":  "Operating lease liabilities, net of current portion"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasePayments":  {
                "auth_ref":  [
                    "r362",
                    "r364"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
                            "label":  "Operating Lease, Payments",
                            "verboseLabel":  "Cash paid for leases"
                            }
                        }
                    },
                "localname":  "OperatingLeasePayments",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseRightOfUseAsset":  {
                "auth_ref":  [
                    "r360"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's right to use underlying asset under operating lease.",
                            "label":  "Operating Lease, Right-of-Use Asset",
                            "verboseLabel":  "Operating lease, right-of-use-asset"
                            }
                        }
                    },
                "localname":  "OperatingLeaseRightOfUseAsset",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Organization, Consolidation and Presentation of Financial Statements [Abstract]",
                            "terseLabel":  "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
                            }
                        }
                    },
                "localname":  "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherAccruedLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r24"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails":  {
                        "order":  4.0,
                        "parentTag":  "ruby_AccruedExpensesAndOtherCurrentLiabilitiesExcludingCurrentOperatingLeaseLiabilities",
                        "weight":  1.0
                        }
                    },
                "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"
                            }
                        }
                    },
                "localname":  "OtherAccruedLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherCommitmentsLineItems":  {
                "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":  "Other Commitments [Line Items]",
                            "terseLabel":  "Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "OtherCommitmentsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherCommitmentsTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about obligations resulting from other commitments.",
                            "label":  "Other Commitments [Table]",
                            "terseLabel":  "Other Commitments [Table]"
                            }
                        }
                    },
                "localname":  "OtherCommitmentsTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesDefinedContributionPlanDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]",
                            "terseLabel":  "Other comprehensive income (loss):"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax":  {
                "auth_ref":  [
                    "r35",
                    "r38"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after tax and before adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).  Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
                            "label":  "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, after Tax",
                            "terseLabel":  "Unrealized losses on investments, net of tax of $0"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax":  {
                "auth_ref":  [
                    "r36",
                    "r39"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).  Excludes tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
                            "label":  "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, Tax",
                            "terseLabel":  "Unrealized gains (losses) on investments, tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSSParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherCostAndExpenseOperating":  {
                "auth_ref":  [
                    "r55"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation.",
                            "label":  "Other Cost and Expense, Operating",
                            "terseLabel":  "License costs"
                            }
                        }
                    },
                "localname":  "OtherCostAndExpenseOperating",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherLiabilitiesNoncurrent":  {
                "auth_ref":  [
                    "r28"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
                            "label":  "Other Liabilities, Noncurrent",
                            "terseLabel":  "Other long-term liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilitiesNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherNoncashExpense":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  5.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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherNonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r60"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NonoperatingIncomeExpense",
                        "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)",
                            "terseLabel":  "Other income, net"
                            }
                        }
                    },
                "localname":  "OtherNonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "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":  "Overallotment"
                            }
                        }
                    },
                "localname":  "OverAllotmentOptionMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PayablesAndAccrualsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Payables and Accruals [Abstract]",
                            "terseLabel":  "Payables and Accruals [Abstract]"
                            }
                        }
                    },
                "localname":  "PayablesAndAccrualsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PaymentsOfDebtIssuanceCosts":  {
                "auth_ref":  [
                    "r66"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  4.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":  "Payments of debt issuance costs"
                            }
                        }
                    },
                "localname":  "PaymentsOfDebtIssuanceCosts",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfStockIssuanceCosts":  {
                "auth_ref":  [
                    "r67"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  3.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":  "Payments of offering costs"
                            }
                        }
                    },
                "localname":  "PaymentsOfStockIssuanceCosts",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireInvestments":  {
                "auth_ref":  [
                    "r63"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the purchase of all investments (debt, security, other) during the period.",
                            "label":  "Payments to Acquire Investments",
                            "negatedLabel":  "Purchases of investments"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r62"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  1.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":  "Purchases of property, plant and equipment"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquirePropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PreferredStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r12",
                    "r238"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical",
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_PreferredStockSharesAuthorized":  {
                "auth_ref":  [
                    "r12"
                    ],
                "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, share authorized (in shares)"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical",
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockSharesIssued":  {
                "auth_ref":  [
                    "r12",
                    "r238"
                    ],
                "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 (in shares)"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockSharesOutstanding":  {
                "auth_ref":  [
                    "r12"
                    ],
                "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 (in shares)"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockValue":  {
                "auth_ref":  [
                    "r12",
                    "r368"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "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",
                            "verboseLabel":  "Preferred stock, $0.001 par value; 10,000,000 shares authorized at June\u00a030, 2022 and December\u00a031, 2021; no shares issued or outstanding at June\u00a030, 2022 and December\u00a031, 2021"
                            }
                        }
                    },
                "localname":  "PreferredStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIssuanceInitialPublicOffering":  {
                "auth_ref":  [
                    "r64"
                    ],
                "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":  "Net proceeds after deducting underwriting discounts and commissions"
                            }
                        }
                    },
                "localname":  "ProceedsFromIssuanceInitialPublicOffering",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIssuanceOfCommonStock":  {
                "auth_ref":  [
                    "r64"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  2.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 common stock",
                            "verboseLabel":  "Proceeds from underwritten public offering of common stock, net of commissions and underwriting discounts"
                            }
                        }
                    },
                "localname":  "ProceedsFromIssuanceOfCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIssuanceOfDebt":  {
                "auth_ref":  [
                    "r65"
                    ],
                "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":  "Borrowing"
                            }
                        }
                    },
                "localname":  "ProceedsFromIssuanceOfDebt",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments":  {
                "auth_ref":  [
                    "r61"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow associated with the sale, maturity and collection of all investments such as debt, security and so forth during the period.",
                            "label":  "Proceeds from Sale, Maturity and Collection of Investments",
                            "verboseLabel":  "Sales and maturities of investments"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleMaturityAndCollectionsOfInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromStockOptionsExercised":  {
                "auth_ref":  [
                    "r64",
                    "r310"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "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":  "Proceeds from issuance of common stock upon exercise of stock options and under employee stock purchase plan"
                            }
                        }
                    },
                "localname":  "ProceedsFromStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProfitLoss":  {
                "auth_ref":  [
                    "r1",
                    "r42",
                    "r44",
                    "r49",
                    "r69",
                    "r87",
                    "r95",
                    "r103",
                    "r104",
                    "r133",
                    "r135",
                    "r138",
                    "r141",
                    "r143",
                    "r161",
                    "r193",
                    "r194",
                    "r195",
                    "r197",
                    "r198",
                    "r199",
                    "r200",
                    "r201",
                    "r202",
                    "r203",
                    "r322",
                    "r325",
                    "r326",
                    "r330",
                    "r331",
                    "r336",
                    "r345",
                    "r412"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "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 loss"
                            }
                        }
                    },
                "localname":  "ProfitLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentAdditions":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale.  Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
                            "label":  "Property, Plant and Equipment, Additions",
                            "terseLabel":  "Property, plant and equipment, additions"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentAdditions",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentByTypeAxis":  {
                "auth_ref":  [
                    "r179"
                    ],
                "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]",
                            "terseLabel":  "Long-Lived Tangible Asset [Axis]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentByTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock":  {
                "auth_ref":  [
                    "r181",
                    "r440",
                    "r441",
                    "r442"
                    ],
                "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, Plant and Equipment, Net"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNet"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentGross":  {
                "auth_ref":  [
                    "r7",
                    "r177"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_PropertyPlantAndEquipmentNet",
                        "weight":  1.0
                        }
                    },
                "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":  "Property, plant and equipment, gross"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentGross",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "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]",
                            "terseLabel":  "Property, Plant and Equipment, Net"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentNet":  {
                "auth_ref":  [
                    "r179",
                    "r368",
                    "r413",
                    "r422"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        },
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "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, plant and equipment, net",
                            "totalLabel":  "Property, plant and equipment, net"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentNet",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS",
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentNetAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Property, Plant and Equipment, Net [Abstract]",
                            "terseLabel":  "Property, Plant and Equipment, Net [Abstract]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentNetAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentTextBlock":  {
                "auth_ref":  [
                    "r179"
                    ],
                "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 of property, plant and equipment, net"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentTypeDomain":  {
                "auth_ref":  [
                    "r177"
                    ],
                "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]",
                            "terseLabel":  "Property, Plant and Equipment, Type [Domain]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ResearchAndDevelopmentExpense":  {
                "auth_ref":  [
                    "r318",
                    "r401",
                    "r445"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate costs incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process whether intended for sale or the entity's use, during the reporting period charged to research and development projects, including the costs of developing computer software up to the point in time of achieving technological feasibility, and costs allocated in accounting for a business combination to in-process projects deemed to have no alternative future use.",
                            "label":  "Research and Development Expense",
                            "terseLabel":  "Research and development"
                            }
                        }
                    },
                "localname":  "ResearchAndDevelopmentExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ResearchAndDevelopmentExpenseMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption in which the reported facts about research and development expense have been included.",
                            "label":  "Research and Development Expense [Member]",
                            "terseLabel":  "Research and development expenses"
                            }
                        }
                    },
                "localname":  "ResearchAndDevelopmentExpenseMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RestrictedCash":  {
                "auth_ref":  [
                    "r6",
                    "r82",
                    "r403",
                    "r418"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCashCurrent":  {
                "auth_ref":  [
                    "r6",
                    "r82"
                    ],
                "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, current"
                            }
                        }
                    },
                "localname":  "RestrictedCashCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCashNoncurrent":  {
                "auth_ref":  [
                    "r9",
                    "r82",
                    "r438"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "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, classified as noncurrent.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
                            "label":  "Restricted Cash, Noncurrent",
                            "terseLabel":  "Restricted cash",
                            "verboseLabel":  "Restricted cash (non-current)"
                            }
                        }
                    },
                "localname":  "RestrictedCashNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS",
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedStockMember":  {
                "auth_ref":  [
                    "r112"
                    ],
                "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":  "Unvested restricted common stock"
                            }
                        }
                    },
                "localname":  "RestrictedStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareAntidilutiveSecuritiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RetainedEarningsAccumulatedDeficit":  {
                "auth_ref":  [
                    "r15",
                    "r259",
                    "r368",
                    "r420",
                    "r435",
                    "r437"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "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)",
                            "negatedLabel":  "Accumulated deficit",
                            "terseLabel":  "Accumulated deficit"
                            }
                        }
                    },
                "localname":  "RetainedEarningsAccumulatedDeficit",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RetainedEarningsMember":  {
                "auth_ref":  [
                    "r0",
                    "r92",
                    "r93",
                    "r94",
                    "r96",
                    "r102",
                    "r104",
                    "r164",
                    "r311",
                    "r312",
                    "r313",
                    "r319",
                    "r320",
                    "r334",
                    "r432",
                    "r434"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax":  {
                "auth_ref":  [
                    "r128",
                    "r129",
                    "r134",
                    "r139",
                    "r140",
                    "r144",
                    "r145",
                    "r146",
                    "r261",
                    "r262",
                    "r402"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer.  Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
                            "label":  "Revenue from Contract with Customer, Excluding Assessed Tax",
                            "terseLabel":  "Revenue"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerExcludingAssessedTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "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]",
                            "terseLabel":  "Sale of Stock [Domain]"
                            }
                        }
                    },
                "localname":  "SaleOfStockNameOfTransactionDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable":  {
                "auth_ref":  [
                    "r112"
                    ],
                "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]",
                            "terseLabel":  "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareAntidilutiveSecuritiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r112"
                    ],
                "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 dilutive securities excluded from computations of diluted weighted average shares outstanding"
                            }
                        }
                    },
                "localname":  "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable":  {
                "auth_ref":  [
                    "r321"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
                            "label":  "Collaborative Arrangement and Arrangement Other than Collaborative [Table]",
                            "terseLabel":  "Collaborative Arrangement and Arrangement Other than Collaborative [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CommitmentsandContingenciesCollaborativeArrangementsandNoncollaborativeArrangementDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock":  {
                "auth_ref":  [
                    "r304"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of cost recognized for award under share-based payment arrangement by plan.  Includes, but is not limited to, related tax benefit.",
                            "label":  "Share-Based Payment Arrangement, Cost by Plan [Table Text Block]",
                            "terseLabel":  "Schedule of allocation of share based compensation"
                            }
                        }
                    },
                "localname":  "ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock":  {
                "auth_ref":  [
                    "r111"
                    ],
                "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 calculation of basic and diluted net loss per share attributable to common stockholders"
                            }
                        }
                    },
                "localname":  "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable":  {
                "auth_ref":  [
                    "r304",
                    "r314"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about amount recognized for award under share-based payment arrangement.  Includes, but is not limited to, amount expensed in statement of income or comprehensive income, amount capitalized in statement of financial position, and corresponding reporting line item in financial statements.",
                            "label":  "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table]",
                            "terseLabel":  "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock":  {
                "auth_ref":  [
                    "r337",
                    "r338"
                    ],
                "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 financial assets and liabilities measured at fair value on a recurring basis"
                            }
                        }
                    },
                "localname":  "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock":  {
                "auth_ref":  [
                    "r192"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
                            "label":  "Schedule of Maturities of Long-Term Debt [Table Text Block]",
                            "terseLabel":  "Schedule of estimated future principal payments due"
                            }
                        }
                    },
                "localname":  "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable":  {
                "auth_ref":  [
                    "r179"
                    ],
                "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]",
                            "terseLabel":  "Property, Plant and Equipment [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfPropertyPlantAndEquipmentTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/PropertyPlantandEquipmentNetDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensation":  {
                "auth_ref":  [
                    "r73"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS":  {
                        "order":  2.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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross":  {
                "auth_ref":  [
                    "r285"
                    ],
                "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",
                            "verboseLabel":  "Purchase of an aggregate shares of common stock (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r295"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain":  {
                "auth_ref":  [
                    "r278",
                    "r279",
                    "r280",
                    "r281",
                    "r282",
                    "r283",
                    "r284",
                    "r285",
                    "r286",
                    "r287",
                    "r288",
                    "r289",
                    "r290",
                    "r291",
                    "r292",
                    "r293",
                    "r294",
                    "r295",
                    "r296",
                    "r297",
                    "r298",
                    "r299",
                    "r300",
                    "r301",
                    "r302",
                    "r303"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Award under share-based payment arrangement.",
                            "label":  "Award Type [Domain]",
                            "terseLabel":  "Equity Award [Domain]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r286"
                    ],
                "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",
                            "verboseLabel":  "Options exercise price (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/StockBasedCompensationCompensationexpenseDetails"
                    ],
                "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":  "Balances at end of period (in shares)",
                            "periodStartLabel":  "Balances at beginning of period (in shares)"
                            }
                        }
                    },
                "localname":  "SharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_SignificantAccountingPoliciesTextBlock":  {
                "auth_ref":  [
                    "r83",
                    "r91"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_StatementEquityComponentsAxis":  {
                "auth_ref":  [
                    "r0",
                    "r31",
                    "r47",
                    "r48",
                    "r49",
                    "r92",
                    "r93",
                    "r94",
                    "r96",
                    "r102",
                    "r104",
                    "r118",
                    "r164",
                    "r254",
                    "r259",
                    "r311",
                    "r312",
                    "r313",
                    "r319",
                    "r320",
                    "r334",
                    "r347",
                    "r348",
                    "r349",
                    "r350",
                    "r351",
                    "r352",
                    "r365",
                    "r432",
                    "r433",
                    "r434"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by component of equity.",
                            "label":  "Equity Components [Axis]",
                            "terseLabel":  "Equity Components [Axis]"
                            }
                        }
                    },
                "localname":  "StatementEquityComponentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "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]",
                            "terseLabel":  "Statement [Line Items]"
                            }
                        }
                    },
                "localname":  "StatementLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfCashFlowsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Cash Flows [Abstract]",
                            "terseLabel":  "Statement of Cash Flows [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfCashFlowsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfFinancialPositionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Financial Position [Abstract]",
                            "terseLabel":  "Statement of Financial Position [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfFinancialPositionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Stockholders' Equity [Abstract]",
                            "terseLabel":  "Statement of Stockholders' Equity [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementTable":  {
                "auth_ref":  [
                    "r92",
                    "r93",
                    "r94",
                    "r118",
                    "r402"
                    ],
                "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]",
                            "terseLabel":  "Statement [Table]"
                            }
                        }
                    },
                "localname":  "StatementTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities":  {
                "auth_ref":  [
                    "r30",
                    "r222",
                    "r254",
                    "r255",
                    "r259"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares issued during the period as a result of the conversion of convertible securities.",
                            "label":  "Stock Issued During Period, Shares, Conversion of Convertible Securities",
                            "verboseLabel":  "Conversion of redeemable convertible preferred stock to common stock (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r254",
                    "r259"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares issued during the period as a result of an employee stock purchase plan.",
                            "label":  "Stock Issued During Period, Shares, Employee Stock Purchase Plans",
                            "terseLabel":  "Stock issued during period, shares, employee stock purchase plans (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesNewIssues":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r254",
                    "r259"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of new stock issued during the period.",
                            "label":  "Stock Issued During Period, Shares, New Issues",
                            "terseLabel":  "Shares issued (in shares)",
                            "verboseLabel":  "Issuance of common stock from public offering, net of commissions, underwriting discounts and offering costs (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesNewIssues",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY",
                    "http://www.rubiustx.com/role/EquityDetails",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r254",
                    "r259"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited.",
                            "label":  "Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures",
                            "terseLabel":  "Vesting of restricted stock units (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r254",
                    "r259",
                    "r286"
                    ],
                "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":  "Issuance of common stock upon exercise of stock options (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r254",
                    "r259"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate change in value for stock issued during the period as a result of employee stock purchase plan.",
                            "label":  "Stock Issued During Period, Value, Employee Stock Purchase Plan",
                            "terseLabel":  "Issuance of common stock under employee stock purchase plan"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueEmployeeStockPurchasePlan",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueNewIssues":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r254",
                    "r259"
                    ],
                "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",
                            "verboseLabel":  "Issuance of common stock from public offering, net of commissions, underwriting discounts and offering costs of $800"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueNewIssues",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures":  {
                "auth_ref":  [
                    "r254",
                    "r259"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value of stock related to Restricted Stock Awards issued during the period, net of the stock value of such awards forfeited.",
                            "label":  "Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures",
                            "terseLabel":  "Vesting of restricted stock units"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised":  {
                "auth_ref":  [
                    "r31",
                    "r254",
                    "r259"
                    ],
                "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":  "Issuance of common stock upon exercise of stock options"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockOptionMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contracts conveying rights, but not obligations, to buy or sell a specific quantity of stock at a specified price during a specified period (an American option) or at a specified date (a European option).",
                            "label":  "Equity Option [Member]",
                            "terseLabel":  "Stock options to purchase common stock"
                            }
                        }
                    },
                "localname":  "StockOptionMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareAntidilutiveSecuritiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_StockholdersEquity":  {
                "auth_ref":  [
                    "r13",
                    "r17",
                    "r18",
                    "r87",
                    "r147",
                    "r161",
                    "r345",
                    "r368"
                    ],
                "calculation":  {
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS":  {
                        "order":  2.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":  "Balances at end of period",
                            "periodStartLabel":  "Balances at beginning of period",
                            "totalLabel":  "Total stockholders' equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS",
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Stockholders' Equity Attributable to Parent [Abstract]",
                            "terseLabel":  "Stockholders' equity:"
                            }
                        }
                    },
                "localname":  "StockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockholdersEquityNoteAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Stockholders' Equity Note [Abstract]",
                            "terseLabel":  "Stockholders' Equity Note [Abstract]"
                            }
                        }
                    },
                "localname":  "StockholdersEquityNoteAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockholdersEquityNoteDisclosureTextBlock":  {
                "auth_ref":  [
                    "r85",
                    "r239",
                    "r242",
                    "r243",
                    "r244",
                    "r245",
                    "r246",
                    "r247",
                    "r248",
                    "r249",
                    "r250",
                    "r251",
                    "r253",
                    "r259",
                    "r260",
                    "r333"
                    ],
                "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":  "Equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquityNoteDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/Equity"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SubsequentEventMember":  {
                "auth_ref":  [
                    "r353",
                    "r369"
                    ],
                "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"
                            }
                        }
                    },
                "localname":  "SubsequentEventMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SubsequentEventTypeAxis":  {
                "auth_ref":  [
                    "r353",
                    "r369"
                    ],
                "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]",
                            "terseLabel":  "Subsequent Event Type [Axis]"
                            }
                        }
                    },
                "localname":  "SubsequentEventTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SubsequentEventTypeDomain":  {
                "auth_ref":  [
                    "r353",
                    "r369"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
                            "label":  "Subsequent Event Type [Domain]",
                            "terseLabel":  "Subsequent Event Type [Domain]"
                            }
                        }
                    },
                "localname":  "SubsequentEventTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Different names of stock transactions and the different attributes of each transaction.",
                            "label":  "Subsidiary or Equity Method Investee, Sale of Stock by Subsidiary or Equity Investee [Table]",
                            "terseLabel":  "Subsidiary or Equity Method Investee, Sale of Stock by Subsidiary or Equity Investee [Table]"
                            }
                        }
                    },
                "localname":  "SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "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]",
                            "terseLabel":  "Sale of Stock [Axis]"
                            }
                        }
                    },
                "localname":  "SubsidiarySaleOfStockAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SubsidiarySaleOfStockLineItems":  {
                "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":  "Subsidiary, Sale of Stock [Line Items]",
                            "terseLabel":  "Nature of the business and basis of presentation",
                            "verboseLabel":  "Equity"
                            }
                        }
                    },
                "localname":  "SubsidiarySaleOfStockLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/EquityDetails",
                    "http://www.rubiustx.com/role/NatureoftheBusinessandBasisofPresentationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SupplementalCashFlowInformationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Supplemental Cash Flow Information [Abstract]",
                            "terseLabel":  "Supplemental cash flow information:"
                            }
                        }
                    },
                "localname":  "SupplementalCashFlowInformationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain":  {
                "auth_ref":  [
                    "r153",
                    "r154",
                    "r156",
                    "r157",
                    "r158",
                    "r230",
                    "r252",
                    "r332",
                    "r370",
                    "r371",
                    "r372",
                    "r373",
                    "r374",
                    "r375",
                    "r376",
                    "r377",
                    "r378",
                    "r379",
                    "r380",
                    "r381",
                    "r382",
                    "r383",
                    "r384",
                    "r385",
                    "r386",
                    "r387",
                    "r388",
                    "r389",
                    "r390",
                    "r391",
                    "r392",
                    "r393",
                    "r394",
                    "r395",
                    "r396",
                    "r397",
                    "r398",
                    "r399",
                    "r451",
                    "r452",
                    "r453",
                    "r454",
                    "r455",
                    "r456",
                    "r457"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
                            "label":  "Financial Instruments [Domain]",
                            "terseLabel":  "Financial Instruments [Domain]"
                            }
                        }
                    },
                "localname":  "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/InvestmentsandFairValueofFinancialAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_UnrealizedGainLossOnInvestments":  {
                "auth_ref":  [
                    "r74"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of unrealized gain (loss) on investment.",
                            "label":  "Unrealized Gain (Loss) on Investments",
                            "terseLabel":  "Unrealized gain (loss) on investments"
                            }
                        }
                    },
                "localname":  "UnrealizedGainLossOnInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_UseOfEstimates":  {
                "auth_ref":  [
                    "r119",
                    "r120",
                    "r122",
                    "r123",
                    "r124",
                    "r125",
                    "r126"
                    ],
                "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/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_VariableRateAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of variable rate.",
                            "label":  "Variable Rate [Axis]",
                            "terseLabel":  "Variable Rate [Axis]"
                            }
                        }
                    },
                "localname":  "VariableRateAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_VariableRateDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
                            "label":  "Variable Rate [Domain]",
                            "terseLabel":  "Variable Rate [Domain]"
                            }
                        }
                    },
                "localname":  "VariableRateDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/DebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding":  {
                "auth_ref":  [
                    "r106",
                    "r111"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted",
                            "terseLabel":  "Weighted-average common shares outstanding, basic (in shares)"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfDilutedSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.rubiustx.com/role/NetLossperShareWeightedAverageSharesDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted [Abstract]",
                            "terseLabel":  "Denominator:"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/NetLossperShareWeightedAverageSharesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic":  {
                "auth_ref":  [
                    "r105",
                    "r111"
                    ],
                "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":  "Weighted-average common shares outstanding, diluted (in shares)"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasic",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.rubiustx.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.rubiustx.com/role/NetLossperShareWeightedAverageSharesDetails"
                    ],
                "xbrltype":  "sharesItemType"
                }
            },
        "unitCount":  6
        }
    },
"std_ref":  {
    "r0":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "105",
        "URI":  "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
        },
    "r1":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "205",
        "URI":  "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
        },
    "r10":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(18))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r100":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
        },
    "r101":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
        },
    "r102":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
        },
    "r103":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
        },
    "r104":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
        },
    "r105":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256"
        },
    "r106":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256"
        },
    "r107":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256"
        },
    "r108":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
        },
    "r109":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
        },
    "r11":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(22))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r110":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256"
        },
    "r111":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
        },
    "r112":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
        },
    "r113":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
        },
    "r114":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
        },
    "r115":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258"
        },
    "r116":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "52",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258"
        },
    "r117":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/topic&trid=2144383"
        },
    "r118":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
        },
    "r119":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r12":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(28))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r120":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r121":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r122":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
        },
    "r123":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
        },
    "r124":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
        },
    "r125":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
        },
    "r126":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
        },
    "r127":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/topic&trid=2134479"
        },
    "r128":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r129":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r13":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(29))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r130":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r131":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r132":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r133":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r134":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r135":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r136":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r137":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r138":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "31",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599"
        },
    "r139":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r14":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(1))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r140":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r141":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r142":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r143":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r144":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599"
        },
    "r145":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
        },
    "r146":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "42",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599"
        },
    "r147":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 4.E)",
        "Topic":  "310",
        "URI":  "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
        },
    "r148":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26626-111562"
        },
    "r149":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "320",
        "URI":  "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
        },
    "r15":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(3))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r150":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(aaa)",
        "Topic":  "320",
        "URI":  "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
        },
    "r151":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "320",
        "URI":  "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
        },
    "r152":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "320",
        "URI":  "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563"
        },
    "r153":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563"
        },
    "r154":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563"
        },
    "r155":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "320",
        "URI":  "https://asc.fasb.org/topic&trid=2196928"
        },
    "r156":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "321",
        "URI":  "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
        },
    "r157":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "321",
        "URI":  "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
        },
    "r158":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "321",
        "URI":  "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
        },
    "r159":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "321",
        "URI":  "https://asc.fasb.org/topic&trid=75115024"
        },
    "r16":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(4))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r160":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "323",
        "URI":  "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r161":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "323",
        "URI":  "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r162":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "323",
        "URI":  "https://asc.fasb.org/topic&trid=2196965"
        },
    "r163":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "325",
        "URI":  "https://asc.fasb.org/topic&trid=2197064"
        },
    "r164":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
        },
    "r165":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
        },
    "r166":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
        },
    "r167":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
        },
    "r168":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
        },
    "r169":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
        },
    "r17":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r170":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454"
        },
    "r171":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
        },
    "r172":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
        },
    "r173":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
        },
    "r174":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(i)",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
        },
    "r175":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
        },
    "r176":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
        },
    "r177":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "360",
        "URI":  "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r178":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "360",
        "URI":  "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r179":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "360",
        "URI":  "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r18":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(31))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r180":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "360",
        "URI":  "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
        },
    "r181":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "360",
        "URI":  "https://asc.fasb.org/topic&trid=2155823"
        },
    "r182":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(c)",
        "Topic":  "410",
        "URI":  "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859"
        },
    "r183":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "420",
        "URI":  "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
        },
    "r184":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "440",
        "URI":  "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
        },
    "r185":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "440",
        "URI":  "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
        },
    "r186":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "440",
        "URI":  "https://asc.fasb.org/topic&trid=2144648"
        },
    "r187":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
        },
    "r188":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
        },
    "r189":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "20",
        "Subparagraph":  "(SAB Topic 5.Y.Q2)",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
        },
    "r19":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(32))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r190":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "20",
        "Subparagraph":  "(SAB Topic 5.Y.Q4)",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
        },
    "r191":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/topic&trid=2127136"
        },
    "r192":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
        },
    "r193":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(i))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r194":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(ii))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r195":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iii)(A))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r196":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iii))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r197":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iv))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r198":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(5))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r199":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(i))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r2":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "205",
        "URI":  "https://asc.fasb.org/topic&trid=2122149"
        },
    "r20":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(9))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r200":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(A))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r201":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(B))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r202":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iv))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r203":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(5))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r204":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r205":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r206":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r207":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r208":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(e)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r209":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r21":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(a))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r210":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r211":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r212":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(i)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r213":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r214":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1C",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
        },
    "r215":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1C",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
        },
    "r216":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1C",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
        },
    "r217":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r218":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r219":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r22":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(b),22(b))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r220":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r221":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r222":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r223":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r224":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r225":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r226":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r227":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r228":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r229":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r23":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19-26)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r230":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r231":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r232":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
        },
    "r233":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69B",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
        },
    "r234":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69C",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
        },
    "r235":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69E",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
        },
    "r236":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69F",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
        },
    "r237":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/topic&trid=2208564"
        },
    "r238":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r239":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r24":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.20)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r240":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r241":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r242":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r243":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r244":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r245":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r246":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644"
        },
    "r247":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644"
        },
    "r248":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644"
        },
    "r249":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496180-112644"
        },
    "r25":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.21)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r250":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
        },
    "r251":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
        },
    "r252":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
        },
    "r253":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
        },
    "r254":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644"
        },
    "r255":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644"
        },
    "r256":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644"
        },
    "r257":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644"
        },
    "r258":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644"
        },
    "r259":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3-04)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
        },
    "r26":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22(a)(1))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r260":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/topic&trid=2208762"
        },
    "r261":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045"
        },
    "r262":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045"
        },
    "r263":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
        },
    "r264":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(i)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r265":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(ii)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r266":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(01)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r267":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r268":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(A)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r269":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(B)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r27":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r270":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(C)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r271":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(03)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r272":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
        },
    "r273":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "70",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
        },
    "r274":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(d)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
        },
    "r275":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "80",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
        },
    "r276":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4534-113899"
        },
    "r277":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r278":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r279":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r28":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.24)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r280":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(3)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r281":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r282":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(ii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r283":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r284":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r285":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(01)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r286":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(02)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r287":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(03)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r288":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(04)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r289":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r29":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.25)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r290":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(ii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r291":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r292":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(01)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r293":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(02)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r294":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(03)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r295":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r296":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r297":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r298":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r299":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r3":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r30":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29-30)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r300":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(ii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r301":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(iii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r302":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(iv)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r303":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(v)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r304":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r305":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r306":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r307":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(2)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r308":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r309":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(l)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r31":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29-31)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r310":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901"
        },
    "r311":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
        },
    "r312":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
        },
    "r313":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
        },
    "r314":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 14.F)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
        },
    "r315":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11149-113907"
        },
    "r316":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11178-113907"
        },
    "r317":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/topic&trid=2228938"
        },
    "r318":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "730",
        "URI":  "https://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373"
        },
    "r319":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
        },
    "r32":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226024-175313"
        },
    "r320":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(3)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
        },
    "r321":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "808",
        "URI":  "https://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
        },
    "r322":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683"
        },
    "r323":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r324":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r325":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r326":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r327":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c),(3)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r328":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
        },
    "r329":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
        },
    "r33":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226049-175313"
        },
    "r330":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4J",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
        },
    "r331":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4K",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
        },
    "r332":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(f)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008"
        },
    "r333":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=126731327&loc=SL126733271-114008"
        },
    "r334":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)(3)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
        },
    "r335":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)(4)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
        },
    "r336":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
        },
    "r337":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r338":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r339":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(1)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r34":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
        },
    "r340":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(2)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r341":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r342":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258"
        },
    "r343":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611"
        },
    "r344":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13476-108611"
        },
    "r345":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "825",
        "URI":  "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
        },
    "r346":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
        },
    "r347":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
        },
    "r348":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r349":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r35":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580"
        },
    "r350":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(c)",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r351":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r352":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
        },
    "r353":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
        },
    "r354":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
        },
    "r355":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
        },
    "r356":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
        },
    "r357":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
        },
    "r358":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
        },
    "r359":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
        },
    "r36":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580"
        },
    "r360":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
        },
    "r361":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
        },
    "r362":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
        },
    "r363":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918666-209980"
        },
    "r364":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(1)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
        },
    "r365":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(3)(iii)(03)",
        "Topic":  "848",
        "URI":  "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846"
        },
    "r366":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "852",
        "URI":  "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
        },
    "r367":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "852",
        "URI":  "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
        },
    "r368":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "852",
        "URI":  "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
        },
    "r369":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "855",
        "URI":  "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
        },
    "r37":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580"
        },
    "r370":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)(i)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r371":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)(ii)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r372":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r373":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r374":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r375":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r376":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r377":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r378":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r379":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r38":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580"
        },
    "r380":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r381":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r382":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r383":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
        },
    "r384":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
        },
    "r385":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
        },
    "r386":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
        },
    "r387":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
        },
    "r388":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(4)(i)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
        },
    "r389":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r39":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580"
        },
    "r390":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r391":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r392":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(4)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r393":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(5)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r394":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(6)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r395":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(7)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r396":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(b)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r397":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(e)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r398":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(e)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r399":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(e)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
        },
    "r4":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r40":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580"
        },
    "r400":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "910",
        "URI":  "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733"
        },
    "r401":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "730",
        "Topic":  "912",
        "URI":  "https://asc.fasb.org/extlink&oid=6472174&loc=d3e58812-109433"
        },
    "r402":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.L)",
        "Topic":  "924",
        "URI":  "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
        },
    "r403":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(1)(a))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r404":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(11))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r405":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(16))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r406":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(23))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r407":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.17)",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r408":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(22))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r409":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(26))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r41":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580"
        },
    "r410":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(27))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r411":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.9)",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r412":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "235",
        "Subparagraph":  "(SX 210.9-05(b)(2))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
        },
    "r413":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "360",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
        },
    "r414":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
        },
    "r415":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "825",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126941378&loc=d3e61044-112788"
        },
    "r416":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(12))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r417":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(16))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r418":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(2))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r419":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(3))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r42":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
        },
    "r420":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(4))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r421":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(25))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r422":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(8))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r423":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.(a),19)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r424":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(18))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r425":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(22))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r426":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(23))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r427":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(3)(b))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r428":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4H",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
        },
    "r429":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(d)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
        },
    "r43":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
        },
    "r430":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441"
        },
    "r431":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29F",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441"
        },
    "r432":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r433":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(1)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r434":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(2)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r435":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(i)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r436":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(ii)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r437":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(h)(2)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r438":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "210",
        "Topic":  "954",
        "URI":  "https://asc.fasb.org/extlink&oid=120413173&loc=SL116631458-115580"
        },
    "r439":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "440",
        "Subparagraph":  "(a)",
        "Topic":  "954",
        "URI":  "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
        },
    "r44":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
        },
    "r440":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "360",
        "Subparagraph":  "(d)",
        "Topic":  "958",
        "URI":  "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99779-112916"
        },
    "r441":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "360",
        "Topic":  "958",
        "URI":  "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99893-112916"
        },
    "r442":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "360",
        "Topic":  "958",
        "URI":  "https://asc.fasb.org/extlink&oid=126982197&loc=SL120174063-112916"
        },
    "r443":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "310",
        "Subparagraph":  "(c)",
        "Topic":  "976",
        "URI":  "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
        },
    "r444":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "310",
        "Subparagraph":  "(b)",
        "Topic":  "978",
        "URI":  "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691"
        },
    "r445":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "985",
        "URI":  "https://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756"
        },
    "r446":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b"
        },
    "r447":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b-2"
        },
    "r448":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "d1-1"
        },
    "r449":  {
        "Name":  "Form 10-Q",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "308",
        "Subsection":  "a"
        },
    "r45":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
        },
    "r450":  {
        "Name":  "Forms 10-K, 10-Q, 20-F",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-1"
        },
    "r451":  {
        "Name":  "Regulation S-K (SK)",
        "Number":  "229",
        "Paragraph":  "(a)",
        "Publisher":  "SEC",
        "Section":  "1402"
        },
    "r452":  {
        "Name":  "Regulation S-K (SK)",
        "Number":  "229",
        "Paragraph":  "(b)",
        "Publisher":  "SEC",
        "Section":  "1402",
        "Subparagraph":  "(1)"
        },
    "r453":  {
        "Name":  "Regulation S-K (SK)",
        "Number":  "229",
        "Paragraph":  "(b)",
        "Publisher":  "SEC",
        "Section":  "1402",
        "Subparagraph":  "(2)"
        },
    "r454":  {
        "Name":  "Regulation S-K (SK)",
        "Number":  "229",
        "Paragraph":  "(b)",
        "Publisher":  "SEC",
        "Section":  "1402",
        "Subparagraph":  "(3)"
        },
    "r455":  {
        "Name":  "Regulation S-K (SK)",
        "Number":  "229",
        "Paragraph":  "(c)",
        "Publisher":  "SEC",
        "Section":  "1402",
        "Subparagraph":  "(2)(i)"
        },
    "r456":  {
        "Name":  "Regulation S-K (SK)",
        "Number":  "229",
        "Paragraph":  "(c)",
        "Publisher":  "SEC",
        "Section":  "1402",
        "Subparagraph":  "(2)(ii)"
        },
    "r457":  {
        "Name":  "Regulation S-K (SK)",
        "Number":  "229",
        "Paragraph":  "(c)",
        "Publisher":  "SEC",
        "Section":  "1402",
        "Subparagraph":  "(2)(iii)"
        },
    "r458":  {
        "Name":  "Regulation S-T",
        "Number":  "232",
        "Publisher":  "SEC",
        "Section":  "405"
        },
    "r46":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580"
        },
    "r47":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
        },
    "r48":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
        },
    "r49":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
        },
    "r5":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765"
        },
    "r50":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(210.5-03(11))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r51":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(20))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r52":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(24))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r53":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(25))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r54":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(4))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r55":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.3)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r56":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.4)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r57":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.7(b))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r58":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.7)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r59":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.8)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r6":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(1))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r60":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.9)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r61":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585"
        },
    "r62":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
        },
    "r63":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
        },
    "r64":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
        },
    "r65":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
        },
    "r66":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
        },
    "r67":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
        },
    "r68":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585"
        },
    "r69":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585"
        },
    "r7":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(13))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r70":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585"
        },
    "r71":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
        },
    "r72":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
        },
    "r73":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
        },
    "r74":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
        },
    "r75":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
        },
    "r76":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585"
        },
    "r77":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586"
        },
    "r78":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586"
        },
    "r79":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586"
        },
    "r8":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(14))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r80":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586"
        },
    "r81":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586"
        },
    "r82":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586"
        },
    "r83":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790"
        },
    "r84":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(c))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r85":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(e)(1))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r86":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(f))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r87":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(g)(1)(ii))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r88":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(m)(1)(iii))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r89":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(m)(2)(ii))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r9":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(17))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r90":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.12-04(a))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
        },
    "r91":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/topic&trid=2122369"
        },
    "r92":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "23",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
        },
    "r93":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
        },
    "r94":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
        },
    "r95":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(2)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r96":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(3)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r97":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
        },
    "r98":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
        },
    "r99":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
        }
    },
"version":  "2.1"
}


4 Previous Filings that this Filing References

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 7/07/22  Rubius Therapeutics, Inc.         8-K:5,9     7/07/22   11:202K                                   Toppan Merrill/FA
 6/08/22  Rubius Therapeutics, Inc.         S-3                    6:1M                                     Toppan Merrill/FA
 7/23/18  Rubius Therapeutics, Inc.         8-K:5,8,9   7/17/18    3:223K                                   Toppan Merrill/FA
 7/02/18  Rubius Therapeutics, Inc.         S-1/A                  7:1M                                     Toppan Merrill-FA
Top
Filing Submission 0001709401-22-000014   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Fri., May 17, 11:14:16.3am ET