XML 51 R36.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Common Stock and Stock-Based Compensation - Additional Information (Details) |  | 1 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | --- | ---
Jan. 01, 2022 shares | Feb. 28, 2021 shares | Sep. 30, 2022 USD ($) Plan Vote $ / shares shares | Dec. 31, 2021 $ / shares shares | Dec. 31, 2020 $ / shares shares
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |  |  |  |
Common stock, voting rights |  |  | Each share of common stock entitles the holder to one vote on all matters submitted to a vote of the Company’s stockholders. Common stockholders are entitled to receive dividends |  |
Number of voting rights per share | Vote |  |  | 1 |  |
Cash dividends declared or paid | $ |  |  | $ 0 |  |
Number of stock-based compensation plans | Plan |  |  | 3 |  |
Number of shares authorized |  | 150,000,000 | 150,000,000 | 150,000,000 | 299,700,000
Pre-funded warrant exercise price | $ / shares |  |  | $ 0.0001 | $ 0.0001 | $ 0.0001
Initial total shares reserved |  |  | 22,407,704 | 4,956,107 |
Stock Options |  |  |  |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |  |  |  |
Shares available for future grants |  |  | 1,330,020 |  |
Unrecognized stock-based compensation expense related to unvested stock options | $ |  |  | $ 23,600,000 |  |
Unrecognized stock-based compensation expense recognized period |  |  | 2 years 4 months 24 days |  |
Restricted Stock |  |  |  |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |  |  |  |
Unrecognized stock-based compensation expense related to unvested stock options | $ |  |  | $ 300,000 |  |
Unrecognized stock-based compensation expense recognized period |  |  | 3 years 4 months 6 days |  |
2021 Plan |  |  |  |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |  |  |  |
Share-based payment award, number of shares authorized |  | 2,400,007 |  |  |
Increase of number of authorized shares reserved for issuance under the 2021 Plan | 1,263,463 |  |  |  |
Share-based payment award, shares available for future grants |  |  | 1,108,605 |  |
Increase of authorized shares, percent of common stock outstanding |  | 5.00% |  |  |
2017 Plan |  |  |  |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |  |  |  |
Increase of number of authorized shares reserved for issuance under the 2021 Plan |  | 0 |  |  |
2021 Employee Stock Purchase Plan |  |  |  |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |  |  |  |
Increase of number of authorized shares reserved for issuance under the 2021 Plan | 252,692 |  |  |  |
Share-based payment award, shares available for future grants |  |  | 408,134 |  |
Initial total shares reserved |  | 240,000 |  |  |
Shares purchased by employees under the ESPP |  |  | 84,558 |  |
Increase of authorized shares, percent of common stock outstanding |  | 1.00% |  |  |
Unrecognized stock-based compensation expense recognized period |  |  | 8 months 1 day |  |
Share Based Compensation Rate of Payroll Deduction |  |  | 15.00% |  |
Percentage of fair market value of the shares on the offering date |  |  | 85.00% |  |
Percentage of fair market value of the shares on the purchase date |  |  | 85.00% |  |
Unrecognized stock-based compensation expense related to unvested employee stock purchases | $ |  |  | $ 100,000 |  |
2022 Inducement Plan |  |  |  |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |  |  |  |
Number of shares authorized |  |  | 1,400,000 |  |
Shares available for future grants |  |  | 1,400,000 |  |
Pre-funded warrants |  |  |  |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |  |  |  |
Pre-funded warrants to purchase |  |  | 14,630,000 |  |
Pre-funded warrant price | $ / shares |  |  | $ 2.4199 |  |
Pre-funded warrant exercise price | $ / shares |  |  | $ 0.0001 |  |

X
- Definition Number of voting rights per share. + References No definition available. + Details
Name: | tern_NumberOfVotingRightsPerShare
Namespace Prefix: | tern_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Annual Increase of Authorized Shares, Percent of Common Stock Outstanding + References No definition available. + Details
Name: | tern_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualIncreaseOfAuthorizedSharesPercentOfCommonStockOutstanding
Namespace Prefix: | tern_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award number of share-based compensation plans. + References No definition available. + Details
Name: | tern_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfShareBasedCompensationPlans
Namespace Prefix: | tern_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation rate of payroll deduction. + References No definition available. + Details
Name: | tern_ShareBasedCompensationRateOfPayrollDeduction
Namespace Prefix: | tern_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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
- Definition Face amount or stated value per share of common stock. + 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_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + 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_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of voting rights of common stock. Includes eligibility to vote and votes per share owned. Include also, if any, unusual voting rights. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_CommonStockVotingRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of paid and unpaid cash dividends declared for classes of stock, for example, but not limited to, common and preferred. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 405 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + Details
Name: | us-gaap_DividendsCash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost to be recognized for option under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Discount rate from fair value on offering date that participants pay for shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discount rate from fair value on purchase date that participants pay for shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPricePurchaseDate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Gross number of share options (or share units) granted during the period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(01) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: 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 https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: 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_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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