XML 51 R41.htm IDEA: XBRL DOCUMENT
v3.22.2

Stockholders' Equity - Shares Reserved For Future Issuances (Detail) - shares | Jun. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 74,310,805 | 55,139,084
Exercise of Common Stock Warrants and Pre-funded Warrants |  |
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 38,382,647 | 20,602,244
LPC Purchase Agreement [Member] |  |
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 30,000,000 | 30,000,000
2012 Stock Option And Grant Plan [Member] | 2012 Stock Incentive Plan [Member] |  |
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 663,089 | 665,720
2019 Stock Option And Grant Plan [Member] | 2019 Stock Incentive Plan [Member] |  |
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 4,543,352 | 3,400,489
2019 Stock Option And Grant Plan [Member] | 2019 Employee Stock Purchase Plan [Member] |  |
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 721,717 | 470,631

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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate number of common shares reserved for future issuance. + 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.29) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=trvi_ExerciseOfCommonStockWarrantsAndPrefundedWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=trvi_LincolnParkCapitalPurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=trvi_TwoThousandAndTwelveStockOptionAndGrantPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=trvi_TwoThousandAndTwelveStockIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=trvi_TwoThousandAndNineteenStockOptionAndGrantPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=trvi_TwoThousandAndNineteenStockIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=trvi_TwoThousandAndNineteenEmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |