XML 64 R28.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Summary of Significant Accounting Policies - Additional Information (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($) Institution | Dec. 31, 2020 USD ($)
Significant Accounting Policies [Line Items] |  |
Number of financial institutions | Institution | 2 |
Impairment losses on long-lived assets | $ 0 | $ 0
Minimum [Member] |  |
Significant Accounting Policies [Line Items] |  |
Property, plant and equipment, useful life | 3 years |
Lease liability | $ 8,000,000 |
Lease, right-of-use asset | $ 6,000,000 |
Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration] | us-gaap:OtherAssets |
Maximum |  |
Significant Accounting Policies [Line Items] |  |
Property, plant and equipment, useful life | 5 years |
Lease liability | $ 9,000,000 |
Lease, right-of-use asset | $ 7,000,000 |
Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration] | us-gaap:OtherAssets |

X
- Definition Number of financial institution. + References No definition available. + Details
Name: | rapt_NumberOfFinancialInstitution
Namespace Prefix: | rapt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Significant accounting policies line items. + References No definition available. + Details
Name: | rapt_SignificantAccountingPoliciesLineItems
Namespace Prefix: | rapt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=123351718&loc=d3e2611-110228 + Details
Name: | us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes operating lease right-of-use asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918631-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
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: |