XML 60 R50.htm IDEA: XBRL DOCUMENT v3.23.2
Debt (Details) - USD ($)
3 Months Ended 6 Months Ended
Oct. 12, 2022
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Oct. 30, 2022
Line Of Credit Facility [Line Items]          
Amortization of debt issuance costs and discounts     $ 2,506,000 $ 1,927,000  
Debt Instrument principal amount         $ 10,000,000.0
Term Loan and Revolving Loan          
Line Of Credit Facility [Line Items]          
Loan amount outstanding     0    
Unamortized debt issuance costs     0    
Amortization of debt issuance costs   $ 100,000   300,000  
Deerfield Facility Agreement | Convertible Note          
Line Of Credit Facility [Line Items]          
Loan amount outstanding     73,500,000    
Term loan credit and security agreement entered date Oct. 12, 2022        
Unamortized debt discount and issuance costs     $ 15,700,000    
Debt instrument interest rate     12.00%    
Amortization of debt issuance costs and discounts     $ 2,400,000 $ 1,600,000  
Debt instrument, call feature     Deerfield has the option to demand repayment of all outstanding principal, and any unpaid interest accrued thereon and any other amounts payable under the Restated Agreement (including the Exit Fee (in the case of the 2022 Note) and any make whole amounts), in connection with a Major Transaction (as defined in the Convertible Notes), which shall include, among others, any acquisition or other change of control of the Company; the sale or transfer of assets of the Company equal to more than 50% of the Enterprise Value (as defined in the Convertible Notes) of the Company; a liquidation, bankruptcy or other dissolution of the Company; or if at any time shares of the Company’s common stock are not listed on an Eligible Market (as defined in the Convertible Notes). The Convertible Notes are subject to specified events of default, the occurrence of which would entitle Deerfield to immediately demand repayment of all outstanding principal and accrued interest on the Convertible Note. Such events of default include, among others, failure to make any payment under the Convertible Note when due, failure to observe or perform any covenant under the Restated Agreement or the other transaction documents related thereto (subject to a standard cure period), the failure of the Company to be able to pay debts as they come due, the commencement of bankruptcy or insolvency proceedings against the Company, a material judgment levied against the Company and a material default by the Company under the Convertible Note.    
Percentage of transfer of assets 50.00%        
Amended and Restated Facility Agreement          
Line Of Credit Facility [Line Items]          
Debt Instrument principal amount $ 23,000,000.0        
Exit fee percentage to aggregate amount of all term loans funded 1.95%        
Debt conversion, threshold percentage 130.00%        
Amended and Restated Facility Agreement | Convertible Note          
Line Of Credit Facility [Line Items]          
Principal debt amount exchanged $ 10,000,000.0        
Debt Instrument principal amount $ 50,000,000.0