v3.25.2
Current and Long-Term Debt - Additional Information (Details)
1 Months Ended 6 Months Ended 15 Months Ended
May 29, 2025
USD ($)
Feb. 27, 2025
USD ($)
shares
Mar. 19, 2024
USD ($)
Jan. 22, 2024
USD ($)
day
$ / shares
shares
Aug. 10, 2023
USD ($)
Feb. 03, 2022
USD ($)
Jun. 29, 2021
USD ($)
day
$ / shares
Dec. 31, 2022
installment
Jun. 30, 2022
USD ($)
Dec. 31, 2021
USD ($)
installment
Jun. 30, 2025
USD ($)
shares
Jun. 30, 2024
shares
Jun. 30, 2025
USD ($)
shares
Dec. 31, 2024
USD ($)
Mar. 01, 2024
USD ($)
Jan. 22, 2024
$ / shares
Debt Disclosure [Line Items]                                
Derivative liabilities                     $ 980,000   $ 980,000 $ 621,000    
Last conversion day | day       5                        
Warrants issued (in shares) | shares                     118,246,947 0        
Weighted average interest rate on indebtedness (in percent)                     9.23%   9.23%      
Exchange Agreement                                
Debt Disclosure [Line Items]                                
Debt conversion, amount repurchased                           $ 10,000,000    
Exchange Agreement | Minimum                                
Debt Disclosure [Line Items]                                
Conversion price (in CAD per share) | $ / shares                               $ 0.57
2026 Notes                                
Debt Disclosure [Line Items]                                
Unamortized debt issuance costs, collector fees, and legal fees written off $ 2,216,000                              
2027 Convertible Notes                                
Debt Disclosure [Line Items]                                
Derivative liabilities     $ 2,632,000                          
Debt issuance costs     5,952,000                          
Writeoff of deferred debt issuance cost 3,759,000                              
2025 Convertible Notes                                
Debt Disclosure [Line Items]                                
Aggregate principal amount             $ 74,500,000                  
Debt instrument stated interest rate (in percent)       6.00%     6.00%                  
Financing costs             $ 3,190,000                  
Writeoff of deferred debt issuance cost $ 973,000                              
Conversion price (in CAD per share) | $ / shares             $ 6.49                  
Percentage price of principal amount redeemed                     120.00%          
Percentage price of principal amount redeemed                     100.00%          
Embedded derivative liability measured at fair value             $ 15,099,000                  
2025 Convertible Notes | Exchange Agreement                                
Debt Disclosure [Line Items]                                
Debt conversion, authorized repurchase amount       $ 25,000,000                        
Discount On Weighted Average Price Of Common Shares       12.50%                        
Debt conversion, remaining authorized repurchase amount                             $ 15,000,000  
2025 Convertible Notes | Exchange Agreement | Debt Instrument, Redemption, Period One                                
Debt Disclosure [Line Items]                                
Debt instrument, repurchased face amount       $ 5,000,000                        
Discount On Weighted Average Price Of Common Shares       12.50%                        
2025 Convertible Notes | Exchange Agreement | Debt Instrument, Redemption, Period Two                                
Debt Disclosure [Line Items]                                
Debt instrument, repurchased face amount       $ 5,000,000                        
2025 Convertible Notes | Exchange Agreement | Minimum                                
Debt Disclosure [Line Items]                                
Trading volume of the common shares (in shares) | shares       600,000                        
2025 Convertible Notes | Exchange Agreement | Minimum | Debt Instrument, Redemption, Period One                                
Debt Disclosure [Line Items]                                
Conversion price (in CAD per share) | $ / shares                               $ 0.41
2025 Convertible Notes | Exchange Agreement | Minimum | Debt Instrument, Redemption, Period Two                                
Debt Disclosure [Line Items]                                
Debt instrument, convertible, stock price trigger | $ / shares       $ 0.47                        
2025 Convertible Notes | Exchange Agreement | Minimum | Debt Instrument, Redemption, Period Three                                
Debt Disclosure [Line Items]                                
Debt instrument, convertible, stock price trigger | $ / shares       $ 0.87                        
2025 Convertible Notes | Convertible Debt                                
Debt Disclosure [Line Items]                                
Debt convertible, days prior to maturity date | day             10                  
Mortgages | New York                                
Debt Disclosure [Line Items]                                
Aggregate principal amount                   $ 20,000,000            
Financing costs                   $ 655,000            
Interest rate (in percent)                   2.25%            
Debt instrument, number of monthly installments | installment               59   59            
Debt instrument final balloon payment                     $ 17,920,000   $ 17,920,000      
Mortgages | New Jersey                                
Debt Disclosure [Line Items]                                
Aggregate principal amount                     16,500,000   16,500,000      
Financing costs                 $ 209,000              
Interest rate (in percent)                 2.25%              
Debt instrument final balloon payment                     15,549,000   $ 15,549,000      
Mortgages | Maryland | First Agreement                                
Debt Disclosure [Line Items]                                
Aggregate principal amount         $ 6,250,000                      
Financing costs         $ 195,000                      
Interest rate (in percent)         2.25%                      
Financing costs in connection with issuance of the convertible notes         $ 2,903,000                      
Mortgages | Delaware | Second Agreement                                
Debt Disclosure [Line Items]                                
Aggregate principal amount         1,800,000                      
Financing costs         $ 77,000                      
Interest rate (in percent)         2.25%                      
Financing costs in connection with issuance of the convertible notes         $ 1,723,000                      
2028 Notes                                
Debt Disclosure [Line Items]                                
Debt instrument stated interest rate (in percent)   9.25%                            
Debt issuance costs, gross   $ 12,155,000                            
Debt instrument, extension options, fee, percentage   0.50%                            
2028 Convertible Notes                                
Debt Disclosure [Line Items]                                
Debt instrument stated interest rate (in percent)   9.00%                            
Derivative liabilities   $ 230,000                            
2025 Debt Transaction                                
Debt Disclosure [Line Items]                                
Warrants issued (in shares) | shares   118,209,105                            
Bought Deal Private Placement | 2026 Notes                                
Debt Disclosure [Line Items]                                
Aggregate principal amount           $ 185,000,000                    
Debt instrument stated interest rate (in percent)           9.50%                    
Aggregate gross proceeds           $ 153,250,000                    
Percentage of debt issued           100.00%                    
Bought Deal Private Placement | 13% Notes due May 2024                                
Debt Disclosure [Line Items]                                
Debt instrument stated interest rate (in percent)           13.00%                    
Debt exchange           $ 31,750,000                    
Bought Deal Private Placement | 13% Notes due May 2024 | Debt Modification                                
Debt Disclosure [Line Items]                                
Debt instrument stated interest rate (in percent)           13.00%                    
Unamortized debt discount and issuance costs           $ 2,153,000                    
Creditor fees           7,189,000                    
Legal fees           $ 301,000                    
Bought Deal Private Placement | 2027 Convertible Notes                                
Debt Disclosure [Line Items]                                
Aggregate principal amount     $ 25,750,000                          
Debt instrument stated interest rate (in percent)     9.00%                          
Aggregate gross proceeds     $ 15,600,000                          
Percentage of debt issued     80.00%                          
Conversion of convertible notes (in shares) | shares                         983,604      
Convertible debt amount                     $ 300,000   $ 300,000      
Bought Deal Private Placement | 2025 Convertible Notes                                
Debt Disclosure [Line Items]                                
Debt instrument stated interest rate (in percent)     6.00%                          
Debt exchange     $ 5,000,000