XML 106 R60.htm IDEA: XBRL DOCUMENT
v3.21.1

Commitments and Contingencies - Additional Information (Detail) |  | 12 Months Ended |
--- | --- | --- | ---
Jun. 15, 2020 USD ($) | Dec. 31, 2020 USD ($) Target shares | Dec. 31, 2019 USD ($) shares | Jul. 08, 2020 shares
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Outstanding convertible preferred stock converted into common shares | shares |  |  | 59,883,877 | 37,206,604
Research and development expense |  | $ 99,862,000 | $ 70,306,000 |
Accrued expenses |  | 5,760,000 | 3,746,000 |
DE Shaw Research [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Research and development expense |  | 6,376,000 | 1,500,000 |
Accrued expenses |  | $ 1,500,000 | 372,000 |
DE Shaw Research [Member] | License Agreement Terms [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Outstanding convertible preferred stock converted into common shares | shares |  | 3,281,253 |  |
Research and development arrangement, annual fee | $ 7,900,000 |  | 1,000,000 |
Research and development arrangement, term of contract |  | 3 years |  |
Research and development arrangement, expiration date | Aug. 16, 2025 |  |  |
Milestone payment Due |  | $ 7,250,000 |  |
Maximum additional amount received upon milestone achievement |  | 6,250,000 |  |
DE Shaw Research [Member] | Lease Agreement |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Milestone payment Due |  | 1,500,000 | 0 |
Other Third Parties [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Research and development expense |  | 2,704,000 | 3,493,000 |
Other Third Parties [Member] | License Agreement Terms [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Milestone payment Due |  | $ 0 | $ 0 |
Number of milestone targets | Target |  | 4 |  |
Maximum [Member] | DE Shaw Research [Member] | License Agreement Terms [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Agreement renewal period |  | 1 year |  |
Potential development milestone payments |  | $ 7,300,000 |  |
Maximum [Member] | Other Third Parties [Member] | License Agreement Terms [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Potential development milestone payments |  | 7,000,000 |  |
Minimum [Member] | Other Third Parties [Member] | License Agreement Terms [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Potential development milestone payments |  | $ 4,000,000 |  |
Series A Preferred Stock [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Outstanding convertible preferred stock converted into common shares | shares |  |  | 16,002,820 |
Series A Preferred Stock [Member] | DE Shaw Research [Member] | License Agreement Terms [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Shares held | shares |  |  | 9,999,999 |
Series C Preferred Stock [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Outstanding convertible preferred stock converted into common shares | shares |  |  | 35,097,955 |
Series C Preferred Stock [Member] | DE Shaw Research [Member] | License Agreement Terms [Member] |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |
Shares held | shares |  |  | 1,557,875 |

X
- Definition Commitments and contingencies disclosure. + References No definition available. + Details
Name: | rlay_CommitmentsAndContingenciesDisclosureLineItems
Namespace Prefix: | rlay_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum additional amount received upon milestone achievement. + References No definition available. + Details
Name: | rlay_MaximumAdditionalAmountReceivedUponMilestoneAchievement
Namespace Prefix: | rlay_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Milestone payment due upon specified regulatory milestone achievement. + References No definition available. + Details
Name: | rlay_MilestonePaymentDueUponSpecifiedRegulatoryMilestoneAchievement
Namespace Prefix: | rlay_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of milestone targets. + References No definition available. + Details
Name: | rlay_NumberOfMilestoneTargets
Namespace Prefix: | rlay_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Potential development milestone payments. + References No definition available. + Details
Name: | rlay_PotentialDevelopmentMilestonePayments
Namespace Prefix: | rlay_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Research and development arrangement, annual fee. + References No definition available. + Details
Name: | rlay_ResearchAndDevelopmentArrangementAnnualFee
Namespace Prefix: | rlay_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Research and development arrangement contract to perform for others renewal period. + References No definition available. + Details
Name: | rlay_ResearchAndDevelopmentArrangementContractToPerformForOthersRenewalPeriod
Namespace Prefix: | rlay_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Research and development arrangement, expiration date. + References No definition available. + Details
Name: | rlay_ResearchAndDevelopmentArrangementExpirationDate
Namespace Prefix: | rlay_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Research and development arrangement, term of contract. + References No definition available. + Details
Name: | rlay_ResearchAndDevelopmentArrangementTermOfContract
Namespace Prefix: | rlay_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations incurred and payable, 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). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_AccruedLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares issued for each share of convertible preferred stock that is converted. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(27)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644 + Details
Name: | us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of affiliates held for management investment companies. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14.Column B) -URI http://asc.fasb.org/extlink&oid=120401592&loc=d3e611322-123010 + Details
Name: | us-gaap_InvestmentsInAndAdvancesToAffiliatesBalanceShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 985 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 730 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373 + Details
Name: | us-gaap_ResearchAndDevelopmentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_CounterpartyNameAxis=rlay_DEShawResearchMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis=us-gaap_LicenseAgreementTermsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis=rlay_LeaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=rlay_OtherthirdPartiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesAPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesCPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |