XML 70 R34.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments - Additional Information (Details) | 1 Months Ended | 12 Months Ended
--- | --- | ---
Feb. 28, 2019 ft² | Apr. 30, 2018 ft² | May 31, 2015 ft² | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
Lessee Lease Description [Line Items] |  |  |  |  |
Lease expiration period |  |  | 2022-05 |  |
Additional laboratory and office facilities under lease | 6,378 | 6,378 |  |  |
Increased of leased premises |  | 36,754 |  |  |
Lessee operating lease extended lease term |  | 2026-11 |  |  |
Lease existence of option to extend |  |  | true |  |
Lessee operating lease option to extend |  |  | 5 years |  |
Lease termination term | 2020-07 |  |  |  |
Operating lease rent expense | $ |  |  |  | $ 2,300,000 | $ 2,100,000
Contingency losses, accrued | $ |  |  |  | $ 0 | $ 0
South San Francisco and California |  |  |  |  |
Lessee Lease Description [Line Items] |  |  |  |  |
Laboratory and office facilities under lease |  |  | 30,376 |  |

X
- Definition Additional square feet area of laboratory and office facilities under lease. + References No definition available. + Details
Name: | rapt_AdditionalSquareFeetAreaOfLaboratoryAndOfficeFacilitiesUnderLease
Namespace Prefix: | rapt_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | instant

X
- Definition Increased area of leased premises. + References No definition available. + Details
Name: | rapt_IncreasedAreaOfLeasedPremises
Namespace Prefix: | rapt_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lease termination month and year. + References No definition available. + Details
Name: | rapt_LeaseTerminationMonthAndYear
Namespace Prefix: | rapt_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee operating lease extended lease term. + References No definition available. + Details
Name: | rapt_LesseeOperatingLeaseExtendedLeaseTerm
Namespace Prefix: | rapt_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating lease expiration year. + References No definition available. + Details
Name: | rapt_OperatingLeaseExpirationYear
Namespace Prefix: | rapt_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Square feet area of laboratory and office facilities under lease. + References No definition available. + Details
Name: | rapt_SquareFeetAreaOfLaboratoryAndOfficeFacilitiesUnderLease
Namespace Prefix: | rapt_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates (true false) whether lessee has option to extend operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend
Namespace Prefix: | us-gaap_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseRenewalTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cash outflow reducing loss contingency liability. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyAccrualPayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=rapt_SouthSanFranciscoAndCaliforniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |