XML 44 R19.htm IDEA: XBRL DOCUMENT
v3.24.0.1

DEBT | 12 Months Ended
--- | ---
Dec. 31, 2023
Debt Disclosure [Abstract] |
Debt | 12. DEBT The following table presents the composition of debt as of December 31, 2023 and 2022 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, | ​ | December 31, | ​
​ |  | 2023 |  | 2022 | ​
Outstanding principal | ​ | $ | 60,000 | ​ | $ | 35,000 | ​
Accrued final payment fees | ​ |  | 1,856 | ​ |  | 1,925 | ​
Less debt discounts | ​ |  | (2,573) | ​ |  | (971) | ​
Total debt, net | ​ |  | 59,283 | ​ |  | 35,954 | ​
Less current portion | ​ |  | — | ​ |  | (13,125) | ​
Long-term debt, net | ​ | $ | 59,283 | ​ | $ | 22,829 | ​
​ For the year ended December 31, 2023, the Company recognized interest expense of $5.4 million, of which $4.8 million was cash and $0.6 million was non-cash interest expense related to the amortization of deferred debt issuance costs and accrual of final payment fees. For the year ended December 31, 2022, the Company recognized interest expense of $4.3 million, of which $3.6 million was cash and $0.7 million was non-cash interest expense related to the amortization of deferred debt issuance costs and accrual of final payment fees. For the year ended December 31, 2021, the Company recognized interest expense of $4.0 million, of which $3.3 million was cash and $0.7 million was non-cash interest expense related to the amortization of deferred debt issuance costs and accrual of final payment fees. ​ Solar Credit Facility Solar Facility Fourth and Fifth Amendments On September 29, 2023, the Company entered into the Solar Fifth Amendment. The Solar Fifth Amendment allowed the Company to draw on the $22.5 million Term C Loan portion of the Solar Facility and revise the required testing levels of the net product revenue and minimum liquidity covenants for certain testing periods. On October 3, 2023, the Company borrowed an aggregate amount of $22.5 million under the Term C Loan portion of the Solar Facility. On March 29, 2023, the Company entered into a fourth amendment (the “Solar Fourth Amendment”) to Solar Facility. The Solar Fourth Amendment increased the borrowings by $2.5 million, extended the interest only period from March 2023 to March 2026 and extended the maturity date from February 2025 to March 2028. In addition the amendment changed the basis of the interest expense from LIBOR to SOFR. The Solar Facility is $60.0 million and consists of three tranches of term loans, a “Term A Loan” in an aggregate amount of $35.0 million, a “Term B Loan” in an aggregate amount of $2.5 million, and a “Term C Facility” (collectively with the Term A Loan and Term B Loan, the “Loans”) in an aggregate principal amount equal to $22.5 million. The Term A Loan was fully drawn prior to the effectiveness of the Solar Fourth Amendment. On March 29, 2023, the Company borrowed an amount of $2.5 million under the Term B Loan. On October 3, 2023, the Company borrowed an amount of $22.5 million under the Term C Facility (the “Term C Funding Date”). The maturity date of the Loans is March 29, 2028. Prior to the effectiveness of the Solar Fourth Amendment, the maturity date of the Term A Loan was February 28, 2025. The Loans accrue interest from the date of borrowing through the date of repayment at a floating per annum rate of interest, which resets monthly and is equal to the greater of 5.65% plus (a) 3.95% or (b) daily simple SOFR for a term of one month. Only interest is required to be paid on the Loans until March 1, 2026. Prior to the effectiveness of the Solar Fourth Amendment, the interest only period with respect to the Term A Loan expired on March 1, 2023. Commencing April 1, 2026, the Company will be required to make monthly payments of principal and interest on the Loans. In addition to the principal and interest payments due under the Solar Facility, the Company is required to pay a final payment fee to Solar upon the earlier of prepayment, acceleration or the maturity date of the Loans equal to 4.95% of the principal amount of the term loans actually funded. If the Company prepays the Loans prior to their respective scheduled maturities, the Company will also be required to pay prepayment fees to Solar equal to 3% of the principal amount of such term loan then-prepaid if prepaid on or before the first anniversary of the Term C Funding Date, 2% of the principal amount of such term loan then-prepaid if prepaid after the first anniversary and on or before the second anniversary of the Term C Funding Date, or 1% of the principal amount of such term loan then-prepaid if prepaid after the second anniversary of the Term C Funding Date. The Company is also required to pay Solar an exit fee upon the occurrence of (a) any liquidation, dissolution or winding up of the Company, (b) any transaction that results in a person obtaining control over the Company, (c) the Company achieving $100 million in trailing twelve-month net product revenue or (d) the Company achieving $125 million in trailing twelve-month net product revenue. The exit fee for liquidation, dissolution, winding up or change of control of the Company is equal to 2% of the principal amount of the term loans actually funded. The exit fee for achieving either $100 million or $125 million in trailing twelve-month net product revenue is equal to 1% of the principal amount of the term loans actually funded or, if both net product revenue milestones are achieved, 2% of the principal amount of the term loans actually funded. The exit fee is capped at 2% of the principal amount of the term loans actually funded. On December 31, 2023, January 31, 2024 and February 29, 2024, the Company was not in compliance with its minimum net product revenue covenant under the Solar Facility. Subsequently, the Company was granted a waiver from Solar for the covenant violations that occurred. The amount of borrowings affected by this non compliance was $60 million, see “Note 22. Subsequent Event” for further discussion on the waiver. The following table sets forth by year our required future principal payments under the term loan portion of the Solar Facility: ​
​ | ​ | ​ | ​
​ |  | Principal
Year: | ​ | Payments
2024 | ​ | $ | —
2025 | ​ |  | —
2026 | ​ |  | 22,500
2027 | ​ |  | 30,000
2028 | ​ |  | 7,500
Total principal payments | ​ | $ | 60,000
​

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(c)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 470 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//470/tableOfContent Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1C -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1C Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1C -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1C Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1C -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1C Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I + Details
Name: | us-gaap_DebtDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration