XML 48 R38.htm IDEA: XBRL DOCUMENT
v3.22.2

Debt - Additional Information (Detail) $ in Thousands |  |  |  | 1 Months Ended | 3 Months Ended | 5 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Apr. 06, 2022 USD ($) | Jul. 06, 2021 USD ($) | Aug. 13, 2020 USD ($) Installment | Oct. 31, 2021 PrivatePlacement | Jun. 30, 2022 USD ($) | Jun. 30, 2021 USD ($) | Oct. 31, 2021 USD ($) | Jun. 30, 2022 USD ($) | Jun. 30, 2021 USD ($) | Dec. 31, 2021 USD ($) | Aug. 31, 2020 USD ($)
Private Placement [Member] |  |  |  |  |  |  |  |  |  |  |
Number of private placements | PrivatePlacement |  |  |  | 2 |  |  |  |  |  |  |
SVB Term Loan [Member] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, principal amount |  |  | $ 14,000 |  | $ 11,667 |  |  | $ 11,667 |  | $ 14,000 |
Interest-only payment period |  |  | 24 months |  |  |  |  |  |  |  |
Loan payment, number of consecutive equal monthly installments of principal including accrued interest | Installment |  |  | 24 |  |  |  |  |  |  |  |
Debt instrument, maturity date |  |  |  |  |  |  |  | Feb. 01, 2024 |  |  |
Debt instrument, final payment fee amount |  |  | $ 1,200 |  | 1,200 |  |  | $ 1,200 |  |  |
Debt default additional interest charge |  |  | 5.00% |  |  |  |  |  |  |  |
Debt finance costs |  | $ 68 |  |  |  |  |  |  |  |  | $ 57
Amortization of deferred financing charges |  |  |  |  | 20 | $ 5 |  | 37 | $ 11 |  |
Unamortized deferred charges |  |  |  |  | 60 |  |  | 60 |  | 76 |
Financing costs paid |  |  |  |  |  |  |  |  |  |  | $ 27
Accretion loan discounts |  |  |  |  | 2 | 2 |  | 5 | 5 |  |
Loan discounts-financing costs |  |  |  |  | 7 |  |  | 7 |  | 12 |
Accrual of the final payment fee |  |  |  |  | 104 | 119 |  | 220 | 237 |  |
Debt instrument, accrued final payment fee |  |  |  |  | 877 |  |  | $ 877 |  | 657 |
Contingent interest rate increase |  |  |  |  |  |  |  | 2.00% |  |  |
Amortization of term loan |  |  |  |  | 16 | $ 19 |  | $ 35 | $ 37 |  |
Term loan discount interest |  |  |  |  | $ 49 |  |  | $ 49 |  | $ 84 |
Weighted average interest rate, floating |  |  |  |  | 4.92% | 4.25% |  | 4.59% | 4.25% |  |
SVB Term Loan [Member] | Term Loan Derivative Liability [Member] |  |  |  |  |  |  |  |  |  |  |
Term loan derivative liability |  |  | $ 187 |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Term Loan Derivative Liability [Member] | Contingent Interest Rate Increase [Member] |  |  |  |  |  |  |  |  |  |  |
Derivative liability, measurement input |  |  |  |  | 0.0200 |  |  | 0.0200 |  |  |
SVB Term Loan [Member] | Term Loan Derivative Liability [Member] | Discount Rate [Member] |  |  |  |  |  |  |  |  |  |  |
Derivative liability, measurement input |  |  |  |  | 0.120 |  |  | 0.120 |  |  |
SVB Term Loan [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |
Interest rate, floating |  |  | 4.25% |  |  |  |  |  |  |  |
Long term debt percentage bearing adjusted floating interest rate |  |  | 6.25% |  |  |  |  |  |  |  |
SVB Term Loan [Member] | First Amendment |  |  |  |  |  |  |  |  |  |  |
Debt instruments percentage of required to deposit unrestricted and unencumbered cash collateral |  | 100.00% |  |  |  |  |  |  |  |  |
Equity raise requirements, description |  |  |  |  |  |  |  | if the Company failed to receive positive data in its Phase 2b/3 PRISM trial or to raise by June 30, 2022 sufficient net proceeds from the sale of equity securities to finance its planned second Phase 3 clinical trial of Haduvio for prurigo nodularis and its ongoing operations (each a “Milestone Condition”), the Company would be required to deposit unrestricted and unencumbered cash equal to 100% of all outstanding amounts owed to SVB in a cash collateral account with SVB, which could be used by SVB to prepay the SVB Term Loan at any time. |  |  |
SVB Term Loan [Member] | First Amendment | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |
Proceeds from the sale of equity securities |  |  |  |  |  |  | $ 15,000 |  |  |  |
Debt instruments amount of required to maintain unrestricted and unencumbered cash |  | $ 20,000 |  |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Third Amendment [Member] |  |  |  |  |  |  |  |  |  |  |
Proceeds from the sale of equity securities | $ 45,000 |  |  |  |  |  |  |  |  |  |
Debt finance costs |  |  |  |  | $ 21 |  |  | $ 21 |  |  |
SVB Term Loan [Member] | Third Amendment [Member] | Term Loan Derivative Liability [Member] |  |  |  |  |  |  |  |  |  |  |
Term loan derivative liability |  |  |  |  | $ 136 |  |  | $ 136 |  |  |
SVB Term Loan [Member] | Third Amendment [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |
Interest rate, floating | 4.25% |  |  |  |  |  |  |  |  |  |
Long term debt percentage bearing adjusted floating interest rate | 6.25% |  |  |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Prepayment Prior to First Anniversary of Effective Date [Member] |  |  |  |  |  |  |  |  |  |  |
Prepayment premium percentage on principal amount |  |  | 3.00% |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Prepayment After First Anniversary of Effective Date and Prior To Second Anniversary of Effective Date [Member] |  |  |  |  |  |  |  |  |  |  |
Prepayment premium percentage on principal amount |  |  | 2.00% |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Prepayment After Second Anniversary of the Effective Date and Prior to February 1, 2024 [Member] |  |  |  |  |  |  |  |  |  |  |
Prepayment premium percentage on principal amount |  |  | 1.00% |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |
Variable interest rate |  |  | 1.00% |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Prime Rate [Member] | Third Amendment [Member] |  |  |  |  |  |  |  |  |  |  |
Variable interest rate | 1.00% |  |  |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Adjusted Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |
Variable interest rate |  |  | 3.00% |  |  |  |  |  |  |  |
SVB Term Loan [Member] | Adjusted Prime Rate [Member] | Third Amendment [Member] |  |  |  |  |  |  |  |  |  |  |
Variable interest rate | 3.00% |  |  |  |  |  |  |  |  |  |

X
- Definition Represents accrued loan amendment fee. + References No definition available. + Details
Name: | trvi_AccrualOfFinalAndAmendmentFees
Namespace Prefix: | trvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Contingent interest rate increase. + References No definition available. + Details
Name: | trvi_ContingentInterestRateIncrease
Namespace Prefix: | trvi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt default additional interest charge percentage. + References No definition available. + Details
Name: | trvi_DebtDefaultAdditionalInterestChargePercentage
Namespace Prefix: | trvi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument fee amount accrued. + References No definition available. + Details
Name: | trvi_DebtInstrumentFeeAmountAccrued
Namespace Prefix: | trvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Instrument prepayment premium percentage on principal amount. + References No definition available. + Details
Name: | trvi_DebtInstrumentPrepaymentPremiumPercentageOnPrincipalAmount
Namespace Prefix: | trvi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instruments amount required to maintain unrestricted and unencumbered cash. + References No definition available. + Details
Name: | trvi_DebtInstrumentsAmountRequiredToMaintainUnrestrictedAndUnencumberedCash
Namespace Prefix: | trvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt instruments percentage of required to deposit unrestricted and unencumbered cash collateral. + References No definition available. + Details
Name: | trvi_DebtInstrumentsPercentageOfRequiredToDepositUnrestrictedAndUnencumberedCashCollateral
Namespace Prefix: | trvi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt interest only payment period. + References No definition available. + Details
Name: | trvi_DebtInterestOnlyPaymentPeriod
Namespace Prefix: | trvi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt number of installments of principal including accrued interest. + References No definition available. + Details
Name: | trvi_DebtNumberOfInstallmentsOfPrincipalIncludingAccruedInterest
Namespace Prefix: | trvi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing costs paid. + References No definition available. + Details
Name: | trvi_FinancingCostsPaid
Namespace Prefix: | trvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Loan discounts on financing costs. + References No definition available. + Details
Name: | trvi_LoanDiscountsOnFinancingCosts
Namespace Prefix: | trvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Long term debt percentage bearing adjusted floating interest rate. + References No definition available. + Details
Name: | trvi_LongTermDebtPercentageBearingAdjustedFloatingInterestRate
Namespace Prefix: | trvi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of private placements. + References No definition available. + Details
Name: | trvi_NumberOfPrivatePlacements
Namespace Prefix: | trvi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term loan discounts interest. + References No definition available. + Details
Name: | trvi_TermLoanDiscountsInterest
Namespace Prefix: | trvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unamortized deferred charges. + References No definition available. + Details
Name: | trvi_UnamortizedDeferredCharges
Namespace Prefix: | trvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized for the passage of time, typically for liabilities, that have been discounted to their net present values. Excludes accretion associated with asset retirement obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 35 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=6394232&loc=d3e17558-110866 + Details
Name: | us-gaap_AccretionExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1F -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611 Reference 3: 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 https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_AmortizationOfDebtDiscountPremium
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of amortization of deferred charges applied against earnings during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_AmortizationOfDeferredCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + 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.22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discussion of the facts and amounts pertaining to each failure to comply with an affirmative or negative covenant of a long-term debt instrument, including violating payment terms or an inability to meet certain minimum financial requirements or achieve or maintain certain financial ratios. The discussion would generally be expected to also include whether or not the failure can and will be overcome and a description of the terms of any waivers, including the amount of the waiver and the period of time covered by the waiver, and if reclassification of long-term debt to current has been made in the current balance sheet. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(c)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601 + Details
Name: | us-gaap_DefaultLongtermDebtDescriptionOfViolationOrEventOfDefault
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Value of input used to measure derivative liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_DerivativeLiabilityMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value portion of contractual obligation to pay money on demand or on fixed or determinable dates. + References No definition available. + Details
Name: | us-gaap_LoansPayableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a rate subject to change from time to time. + 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.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtPercentageBearingVariableInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average interest rate of long-term debt outstanding calculated over time. + References No definition available. + Details
Name: | us-gaap_LongTermDebtWeightedAverageInterestRateOverTime
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow associated with the sale of equity securities classified as available-for-sale securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 19 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3444-108585 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123583714&loc=SL75117360-209713 + Details
Name: | us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_PrivatePlacementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=trvi_SiliconValleyBankTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByLiabilityClassAxis=us-gaap_LongTermDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=trvi_ContingentInterestRateIncreaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
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_DebtInstrumentAxis=trvi_FirstAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=trvi_ThirdAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=trvi_AdjustedPrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |