Quarterly report pursuant to Section 13 or 15(d)

Loan Payable (Details)

v3.22.2.2
Loan Payable (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Apr. 30, 2022
USD ($)
tranche
$ / shares
shares
Sep. 30, 2022
USD ($)
Sep. 30, 2022
USD ($)
Long Term Debt      
Current portion of loans payable, net   $ 174 $ 174
Interest expense   401 726
R-Bridge Financing | Royalty Based Loan Agreement      
Long Term Debt      
Face amount $ 40,000    
Debt number of tranches | tranche 3    
Gross proceeds     14,826
Unamoritized debt discount   (1,467) (1,467)
Loans payable, net   13,359 13,359
Current portion of loans payable, net   174 174
Carrying value   13,533 13,533
Interest rate (as a percent) 7.00%    
Term of loan 15 years    
Net revenue interest in U.S. net sales (as a percent) 4.00%    
Cap of U.S. revenue interest if Chinese approval occurs by year-end 2023 $ 10,000    
Net revenue interest in U.S. net sales if approval target is not reached (as a percent) 7.00%    
Amount placed in interest reserve account $ 2,000    
Warrants to purchase shares of common stock | shares 5,000,000    
Exercise price (in dollars per share) | $ / shares $ 0.82    
Warrants term 3 years    
Lender fees and third-party costs $ 500    
Interest expense   400 700
Amortization of debt discount   $ 200 $ 200
Number of shares that can be purchased upon exercise of warrants (in shares) | shares 5,000,000    
Exercise price | $ / shares $ 0.82    
R-Bridge Financing | Royalty Based Loan Agreement | Minimum      
Long Term Debt      
Control premium as a percentage of outstanding principal and interest 125.00%    
Control premium, amount if triggered $ 10,000    
R-Bridge Financing | Royalty Based Loan Agreement | Maximum      
Long Term Debt      
Control premium as a percentage of outstanding principal and interest 150.00%    
Control premium, amount if triggered $ 20,000    
R-Bridge Financing | Royalty Based Loan Agreement - First Tranche      
Long Term Debt      
Proceeds from royalty-based loan agreement 15,000    
R-Bridge Financing | Royalty Based Loan Agreement - Second Tranche      
Long Term Debt      
Commercialization milestone payments 10,000    
R-Bridge Financing | Royalty Based Loan Agreement - Third Tranche | CHINA      
Long Term Debt      
Milestone payment upon first commercial sale in China $ 15,000