| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.22.0.1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 148 </ContextCount> |
| <ElementCount> 417 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> false </FootnotesReported> |
| <SegmentCount> 50 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 11 </UnitCount> |
| <MyReports> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 00090 - Document - Document and Entity Information </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DocumentDocumentAndEntityInformation </Role> |
| | | <ShortName> Document and Entity Information </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 00100 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementCondensedConsolidatedBalanceSheets </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED BALANCE SHEETS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 00105 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 00200 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveLoss </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 00205 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementCondensedConsolidatedStatementsOfOperationsAndComprehensiveLossParenthetical </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 00300 - Statement - CONDENSED CONSOLIDATED STATEMENTS STOCKHOLDERS EQUITY </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementCondensedConsolidatedStatementsStockholdersEquity </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS STOCKHOLDERS EQUITY </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 00305 - Statement - CONDENSED CONSOLIDATED STATEMENTS STOCKHOLDERS EQUITY (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementCondensedConsolidatedStatementsStockholdersEquityParenthetical </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS STOCKHOLDERS EQUITY (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 00400 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementCondensedConsolidatedStatementsOfCashFlows </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 10101 - Disclosure - Nature of the Business and Basis of Presentation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureNatureOfBusinessAndBasisOfPresentation </Role> |
| | | <ShortName> Nature of the Business and Basis of Presentation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 10201 - Disclosure - Summary of Significant Accounting Policies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPolicies </Role> |
| | | <ShortName> Summary of Significant Accounting Policies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 10301 - Disclosure - Investments and Fair Value of Financial Assets and Liabilities </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureInvestmentsAndFairValueOfFinancialAssetsAndLiabilities </Role> |
| | | <ShortName> Investments and Fair Value of Financial Assets and Liabilities </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 10401 - Disclosure - Property, Plant and Equipment, Net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosurePropertyPlantAndEquipmentNet </Role> |
| | | <ShortName> Property, Plant and Equipment, Net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 10501 - Disclosure - Accrued Expenses and Other Current Liabilities </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilities </Role> |
| | | <ShortName> Accrued Expenses and Other Current Liabilities </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 10601 - Disclosure - Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureDebt </Role> |
| | | <ShortName> Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 10701 - Disclosure - Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureEquity </Role> |
| | | <ShortName> Equity </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 10801 - Disclosure - Stock-Based Compensation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensation </Role> |
| | | <ShortName> Stock-Based Compensation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 10901 - Disclosure - Income Taxes </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureIncomeTaxes </Role> |
| | | <ShortName> Income Taxes </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 11001 - Disclosure - Commitments and Contingencies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureCommitmentsAndContingencies </Role> |
| | | <ShortName> Commitments and Contingencies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 11101 - Disclosure - Leases </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureLeases </Role> |
| | | <ShortName> Leases </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 11201 - Disclosure - Net Loss per Share </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureNetLossPerShare </Role> |
| | | <ShortName> Net Loss per Share </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 20202 - Disclosure - Summary of Significant Accounting Policies (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies </Role> |
| | | <ShortName> Summary of Significant Accounting Policies (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPolicies </ParentRole> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 30203 - Disclosure - Summary of Significant Accounting Policies (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables </Role> |
| | | <ShortName> Summary of Significant Accounting Policies (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPolicies </ParentRole> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 30303 - Disclosure - Investments and Fair Value of Financial Assets and Liabilities (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureInvestmentsAndFairValueOfFinancialAssetsAndLiabilitiesTables </Role> |
| | | <ShortName> Investments and Fair Value of Financial Assets and Liabilities (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureInvestmentsAndFairValueOfFinancialAssetsAndLiabilities </ParentRole> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 30403 - Disclosure - Property, Plant and Equipment, Net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosurePropertyPlantAndEquipmentNetTables </Role> |
| | | <ShortName> Property, Plant and Equipment, Net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosurePropertyPlantAndEquipmentNet </ParentRole> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 30503 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesTables </Role> |
| | | <ShortName> Accrued Expenses and Other Current Liabilities (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilities </ParentRole> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 30603 - Disclosure - Debt (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureDebtTables </Role> |
| | | <ShortName> Debt (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureDebt </ParentRole> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 30803 - Disclosure - Stock-Based Compensation (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensationTables </Role> |
| | | <ShortName> Stock-Based Compensation (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureStockBasedCompensation </ParentRole> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 30903 - Disclosure - Income Taxes (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureIncomeTaxesTables </Role> |
| | | <ShortName> Income Taxes (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureIncomeTaxes </ParentRole> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 31103 - Disclosure - Leases (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureLeasesTables </Role> |
| | | <ShortName> Leases (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureLeases </ParentRole> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 31203 - Disclosure - Net Loss per Share (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureNetLossPerShareTables </Role> |
| | | <ShortName> Net Loss per Share (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureNetLossPerShare </ParentRole> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 40101 - Disclosure - Nature of the Business and Basis of Presentation (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureNatureOfBusinessAndBasisOfPresentationDetails </Role> |
| | | <ShortName> Nature of the Business and Basis of Presentation (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureNatureOfBusinessAndBasisOfPresentation </ParentRole> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 40201 - Disclosure - Summary of Significant Accounting Policies (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails </Role> |
| | | <ShortName> Summary of Significant Accounting Policies (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables </ParentRole> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 40202 - Disclosure - Summary of Significant Accounting Policies - Estimated useful life (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesEstimatedUsefulLifeDetails </Role> |
| | | <ShortName> Summary of Significant Accounting Policies - Estimated useful life (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 40301 - Disclosure - Investments and Fair Value of Financial Assets and Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureInvestmentsAndFairValueOfFinancialAssetsAndLiabilitiesDetails </Role> |
| | | <ShortName> Investments and Fair Value of Financial Assets and Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureInvestmentsAndFairValueOfFinancialAssetsAndLiabilitiesTables </ParentRole> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 40401 - Disclosure - Property, Plant and Equipment, Net (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosurePropertyPlantAndEquipmentNetDetails </Role> |
| | | <ShortName> Property, Plant and Equipment, Net (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosurePropertyPlantAndEquipmentNetTables </ParentRole> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 40501 - Disclosure - Accrued Expenses and Other Current Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesDetails </Role> |
| | | <ShortName> Accrued Expenses and Other Current Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesTables </ParentRole> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 40601 - Disclosure - Debt (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureDebtDetails </Role> |
| | | <ShortName> Debt (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureDebtTables </ParentRole> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 40602 - Disclosure - Debt - Current and Non current (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureDebtCurrentAndNonCurrentDetails </Role> |
| | | <ShortName> Debt - Current and Non current (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 40701 - Disclosure - Equity (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureEquityDetails </Role> |
| | | <ShortName> Equity (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureEquity </ParentRole> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 40801 - Disclosure - Stock-Based Compensation (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensationDetails </Role> |
| | | <ShortName> Stock-Based Compensation (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureStockBasedCompensationTables </ParentRole> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 40802 - Disclosure - Stock-Based Compensation - Granted to non-employees, prior to the adoption of ASU 2018-07 (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensationGrantedToNonEmployeesPriorToAdoptionOfAsu201807Details </Role> |
| | | <ShortName> Stock-Based Compensation - Granted to non-employees, prior to the adoption of ASU 2018-07 (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 40803 - Disclosure - Stock-Based Compensation - Option activity (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensationOptionActivityDetails </Role> |
| | | <ShortName> Stock-Based Compensation - Option activity (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 40804 - Disclosure - Stock-Based Compensation - Performance based stock options (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensationPerformanceBasedStockOptionsDetails </Role> |
| | | <ShortName> Stock-Based Compensation - Performance based stock options (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 40805 - Disclosure - Stock-Based Compensation - Restricted Common Stock (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensationRestrictedCommonStockDetails </Role> |
| | | <ShortName> Stock-Based Compensation - Restricted Common Stock (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 40807 - Disclosure - Stock-Based Compensation - Compensation expense (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensationCompensationExpenseDetails </Role> |
| | | <ShortName> Stock-Based Compensation - Compensation expense (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 40901 - Disclosure - Income Taxes (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureIncomeTaxesDetails </Role> |
| | | <ShortName> Income Taxes (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureIncomeTaxesTables </ParentRole> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 40902 - Disclosure - Income Taxes - U S federal statutory income tax rate (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureIncomeTaxesUSFederalStatutoryIncomeTaxRateDetails </Role> |
| | | <ShortName> Income Taxes - U S federal statutory income tax rate (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 40903 - Disclosure - Income Taxes - Net deferred tax assets (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureIncomeTaxesNetDeferredTaxAssetsDetails </Role> |
| | | <ShortName> Income Taxes - Net deferred tax assets (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 40904 - Disclosure - Income Taxes - Valuation allowance for deferred tax assets (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureIncomeTaxesValuationAllowanceForDeferredTaxAssetsDetails </Role> |
| | | <ShortName> Income Taxes - Valuation allowance for deferred tax assets (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 41001 - Disclosure - Commitments and Contingencies - Collaborative Arrangements and Non-collaborative Arrangement (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureCommitmentsAndContingenciesCollaborativeArrangementsAndNonCollaborativeArrangementDetails </Role> |
| | | <ShortName> Commitments and Contingencies - Collaborative Arrangements and Non-collaborative Arrangement (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 41002 - Disclosure - Commitments and Contingencies - Defined Contribution Plan (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureCommitmentsAndContingenciesDefinedContributionPlanDetails </Role> |
| | | <ShortName> Commitments and Contingencies - Defined Contribution Plan (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 41101 - Disclosure - Leases (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureLeasesDetails </Role> |
| | | <ShortName> Leases (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureLeasesTables </ParentRole> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 41102 - Disclosure - Leases - Minimum lease payments (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureLeasesMinimumLeasePaymentsDetails </Role> |
| | | <ShortName> Leases - Minimum lease payments (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 41103 - Disclosure - Leases - Lease Portfolio (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureLeasesLeasePortfolioDetails </Role> |
| | | <ShortName> Leases - Lease Portfolio (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 41201 - Disclosure - Net Loss per Share - Weighted Average Shares (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureNetLossPerShareWeightedAverageSharesDetails </Role> |
| | | <ShortName> Net Loss per Share - Weighted Average Shares (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 55 </Position> |
| | | </Report> |
| | <Report instance="ruby-20211231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 41202 - Disclosure - Net Loss per Share - Antidilutive Securities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureNetLossPerShareAntidilutiveSecuritiesDetails </Role> |
| | | <ShortName> Net Loss per Share - Antidilutive Securities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-K" original="ruby-20211231x10k.htm"> ruby-20211231x10k.htm </File> |
| | <File> ruby-20211231.xsd </File> |
| | <File> ruby-20211231_cal.xml </File> |
| | <File> ruby-20211231_def.xml </File> |
| | <File> ruby-20211231_lab.xml </File> |
| | <File> ruby-20211231_pre.xml </File> |
| | <File> ruby-20211231xex10d5.htm </File> |
| | <File> ruby-20211231xex21d1.htm </File> |
| | <File> ruby-20211231xex23d1.htm </File> |
| | <File> ruby-20211231xex31d1.htm </File> |
| | <File> ruby-20211231xex31d2.htm </File> |
| | <File> ruby-20211231xex32d1.htm </File> |
| | <File> ruby-20211231xex32d2.htm </File> |
| | </InputFiles> |
| <SupplementalFiles> |
| | <File> ruby-20211231x10k001.jpg </File> |
| | <File> ruby-20211231x10k002.jpg </File> |
| | <File> ruby-20211231x10k003.jpg </File> |
| | <File> ruby-20211231x10k004.jpg </File> |
| | <File> ruby-20211231x10k005.jpg </File> |
| | <File> ruby-20211231x10k006.jpg </File> |
| | <File> ruby-20211231x10k007.jpg </File> |
| | <File> ruby-20211231x10k008.jpg </File> |
| | <File> ruby-20211231x10k009.jpg </File> |
| | <File> ruby-20211231x10k010.jpg </File> |
| | <File> ruby-20211231x10k011.jpg </File> |
| | <File> ruby-20211231x10k012.jpg </File> |
| | <File> ruby-20211231x10k013.jpg </File> |
| | </SupplementalFiles> |
| <BaseTaxonomies> |
| | <BaseTaxonomy items="600"> http://fasb.org/us-gaap/2021-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy items="37"> http://xbrl.sec.gov/dei/2021q4 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |