| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.20.4 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 226 </ContextCount> |
| <ElementCount> 452 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> false </FootnotesReported> |
| <SegmentCount> 68 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 10 </UnitCount> |
| <MyReports> |
| | <Report instance="ruby-20201231x10k.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-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 00100 - Statement - CONSOLIDATED BALANCE SHEETS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementConsolidatedBalanceSheets </Role> |
| | | <ShortName> CONSOLIDATED BALANCE SHEETS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementConsolidatedBalanceSheetsParenthetical </Role> |
| | | <ShortName> CONSOLIDATED BALANCE SHEETS (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 00200 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementConsolidatedStatementsOfOperationsAndComprehensiveLoss </Role> |
| | | <ShortName> CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 00205 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementConsolidatedStatementsOfOperationsAndComprehensiveLossParenthetical </Role> |
| | | <ShortName> CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 00300 - Statement - CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementConsolidatedStatementsOfConvertiblePreferredStockAndStockholdersEquityDeficit </Role> |
| | | <ShortName> CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 00305 - Statement - CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementConsolidatedStatementsOfConvertiblePreferredStockAndStockholdersEquityDeficitParenthetical </Role> |
| | | <ShortName> CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 00400 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/StatementConsolidatedStatementsOfCashFlows </Role> |
| | | <ShortName> CONSOLIDATED STATEMENTS OF CASH FLOWS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.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-20201231x10k.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-20201231x10k.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-20201231x10k.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-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.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> 13 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 10701 - Disclosure - Convertible Preferred Stock </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureConvertiblePreferredStock </Role> |
| | | <ShortName> Convertible Preferred Stock </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 10801 - Disclosure - Warrants to Purchase Convertible Preferred Stock </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureWarrantsToPurchaseConvertiblePreferredStock </Role> |
| | | <ShortName> Warrants to Purchase Convertible Preferred Stock </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 10901 - Disclosure - Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureEquity </Role> |
| | | <ShortName> Equity </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 11001 - 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> 17 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 11101 - Disclosure - Income Taxes </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureIncomeTaxes </Role> |
| | | <ShortName> Income Taxes </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 11201 - 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> 19 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 11301 - Disclosure - Leases </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureLeases </Role> |
| | | <ShortName> Leases </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 11401 - 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> 21 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 11501 - Disclosure - Related Parties </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureRelatedParties </Role> |
| | | <ShortName> Related Parties </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 11601 - Disclosure - Selected Quarterly Financial Data (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSelectedQuarterlyFinancialDataUnaudited </Role> |
| | | <ShortName> Selected Quarterly Financial Data (Unaudited) </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.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> 24 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.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> 25 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.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> 26 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.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> 27 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.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> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.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> 29 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 31003 - 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> 30 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 31103 - 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> 31 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 31303 - 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> 32 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 31403 - 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> 33 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 31603 - Disclosure - Selected Quarterly Financial Data (Unaudited) (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSelectedQuarterlyFinancialDataUnauditedTables </Role> |
| | | <ShortName> Selected Quarterly Financial Data (Unaudited) (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureSelectedQuarterlyFinancialDataUnaudited </ParentRole> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.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> 35 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.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> 36 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.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> 37 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 40203 - Disclosure - Summary of Significant Accounting Policies - Recently Adopted Accounting Pronouncements (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails </Role> |
| | | <ShortName> Summary of Significant Accounting Policies - Recently Adopted Accounting Pronouncements (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.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> 39 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.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> 40 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.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> 41 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.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> 42 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.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> 43 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 40701 - Disclosure - Convertible Preferred Stock (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureConvertiblePreferredStockDetails </Role> |
| | | <ShortName> Convertible Preferred Stock (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureConvertiblePreferredStock </ParentRole> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 40801 - Disclosure - Warrants to Purchase Convertible Preferred Stock (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureWarrantsToPurchaseConvertiblePreferredStockDetails </Role> |
| | | <ShortName> Warrants to Purchase Convertible Preferred Stock (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureWarrantsToPurchaseConvertiblePreferredStock </ParentRole> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 40901 - 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> 46 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 41001 - 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> 47 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 41002 - Disclosure - Stock-Based Compensation - Employees, directors and non-employees (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureStockBasedCompensationEmployeesDirectorsAndNonEmployeesDetails </Role> |
| | | <ShortName> Stock-Based Compensation - Employees, directors and non-employees (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 41003 - 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> 49 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 41004 - 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> 50 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 41005 - 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> 51 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 41006 - 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> 52 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 41101 - 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> 53 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 41102 - 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> 54 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 41103 - 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> 55 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 41104 - 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> 56 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 41201 - 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> 57 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 41202 - 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> 58 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R59.htm </HtmlFileName> |
| | | <LongName> 41301 - 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> 59 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R60.htm </HtmlFileName> |
| | | <LongName> 41302 - 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> 60 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R61.htm </HtmlFileName> |
| | | <LongName> 41303 - 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> 61 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R62.htm </HtmlFileName> |
| | | <LongName> 41401 - 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> 62 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R63.htm </HtmlFileName> |
| | | <LongName> 41402 - 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> 63 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R64.htm </HtmlFileName> |
| | | <LongName> 41501 - Disclosure - Related Parties (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureRelatedPartiesDetails </Role> |
| | | <ShortName> Related Parties (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureRelatedParties </ParentRole> |
| | | <Position> 64 </Position> |
| | | </Report> |
| | <Report instance="ruby-20201231x10k.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R65.htm </HtmlFileName> |
| | | <LongName> 41601 - Disclosure - Selected Quarterly Financial Data (Unaudited) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.rubiustx.com/role/DisclosureSelectedQuarterlyFinancialDataUnauditedDetails </Role> |
| | | <ShortName> Selected Quarterly Financial Data (Unaudited) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.rubiustx.com/role/DisclosureSelectedQuarterlyFinancialDataUnauditedTables </ParentRole> |
| | | <Position> 65 </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-20201231x10k.htm"> ruby-20201231x10k.htm </File> |
| | <File> ruby-20201231.xsd </File> |
| | <File> ruby-20201231_cal.xml </File> |
| | <File> ruby-20201231_def.xml </File> |
| | <File> ruby-20201231_lab.xml </File> |
| | <File> ruby-20201231_pre.xml </File> |
| | <File> ruby-20201231xex21d1.htm </File> |
| | <File> ruby-20201231xex23d1.htm </File> |
| | <File> ruby-20201231xex31d1.htm </File> |
| | <File> ruby-20201231xex31d2.htm </File> |
| | <File> ruby-20201231xex32d1.htm </File> |
| | <File> ruby-20201231xex32d2.htm </File> |
| | </InputFiles> |
| <SupplementalFiles> |
| | <File> ruby-20201231x10k001.jpg </File> |
| | <File> ruby-20201231x10k002.jpg </File> |
| | <File> ruby-20201231x10k003.jpg </File> |
| | <File> ruby-20201231x10k004.jpg </File> |
| | <File> ruby-20201231x10k005.jpg </File> |
| | <File> ruby-20201231x10k006.jpg </File> |
| | <File> ruby-20201231x10k007.jpg </File> |
| | <File> ruby-20201231x10k008.jpg </File> |
| | <File> ruby-20201231x10k009.jpg </File> |
| | <File> ruby-20201231x10k010.jpg </File> |
| | <File> ruby-20201231x10k011.jpg </File> |
| | <File> ruby-20201231x10k012.jpg </File> |
| | <File> ruby-20201231x10k013.jpg </File> |
| | <File> ruby-20201231x10k014.jpg </File> |
| | <File> ruby-20201231x10k015.jpg </File> |
| | <File> ruby-20201231x10k016.jpg </File> |
| | </SupplementalFiles> |
| <BaseTaxonomies> |
| | <BaseTaxonomy> http://fasb.org/us-gaap/2020-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy> http://fasb.org/srt/2020-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy> http://xbrl.sec.gov/dei/2020-01-31 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |