v3.24.2.u1
Convertible Senior Notes - Narratives (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Mar. 20, 2024
USD ($)
D
$ / shares
shares
Mar. 12, 2024
USD ($)
Mar. 31, 2024
USD ($)
Jun. 30, 2024
USD ($)
shares
Mar. 31, 2024
USD ($)
Jun. 30, 2023
USD ($)
shares
Jun. 30, 2024
USD ($)
shares
Jun. 30, 2023
USD ($)
shares
Mar. 21, 2024
USD ($)
Dec. 31, 2023
USD ($)
Mar. 31, 2023
May 31, 2020
USD ($)
May 29, 2020
USD ($)
May 20, 2020
USD ($)
May 18, 2020
USD ($)
Convertible Senior Notes                              
Interest rate (as a percent)       7.00%     7.00%                
Net proceeds               $ 77,589,000              
Long-term borrowings       $ 3,700,000     $ 3,700,000                
Carrying amount of the liability component       $ 4,857,000     4,857,000                
Loss on extinguishment of debt             $ (14,047,000)                
Minimum                              
Convertible Senior Notes                              
Effective interest rate (as a percent)       7.30%     7.30%                
Maximum                              
Convertible Senior Notes                              
Effective interest rate (as a percent)       7.60%     7.60%                
7.0% Convertible Senior Note                              
Convertible Senior Notes                              
Amount of debt converted       $ 0   $ 0 $ 0 $ 0              
Principal amount $ 140,400,000 $ 140,400,000 $ 140,400,000 $ 140,396,000 $ 140,400,000   $ 140,396,000                
Interest rate (as a percent) 7.00% 7.00% 7.00% 7.00% 7.00%   7.00%                
Premium (as a percent) 20.00%                            
Maturity principal amount $ 1,000                         $ 1,000  
Conversion rates for the notes (in shares) 235.4049                            
Conversion price, per share | $ / shares $ 4.25                            
Effective interest rate (as a percent)       3.00%     3.00%                
Fair value of convertible senior notes       $ 126,300,000     $ 126,300,000                
7.0% Convertible Senior Note | Minimum                              
Convertible Senior Notes                              
Redemption notice days 1 day                            
7.0% Convertible Senior Note | Maximum                              
Convertible Senior Notes                              
Redemption notice days 3 days                            
7.0% Convertible Senior Note | Holder may require redemption                              
Convertible Senior Notes                              
Debt Instrument, Redemption Price, Percentage 100.00%                            
7.0% Convertible Senior Note | Company may redeem with the consent of the holder                              
Convertible Senior Notes                              
Trading days | D 20                            
Consecutive trading days | D 30                            
Conversion price (as a percent) 130.00%                            
7.0% Convertible Senior Note | Under certain circumstances resulting in increase to conversion rate | Maximum                              
Convertible Senior Notes                              
Conversion of notes through common stock issuance (in shares) | shares 39,659,890                            
Conversion rates for the notes (in shares) 282.4859                            
3.75% Convertible Senior Notes                              
Convertible Senior Notes                              
Amount of debt converted   $ 138,800,000 $ 138,800,000                        
Principal amount       $ 58,462,000     $ 58,462,000   $ 58,500,000 $ 197,278,000   $ 212,500,000 $ 12,500,000   $ 200,000,000.0
Accrued and unpaid interest $ 1,600,000                            
Interest rate (as a percent) 3.75% 3.75% 3.75% 3.75% 3.75%   3.75%   3.75%   3.75% 3.75% 3.75%   3.75%
Conversion of debt $ 138,800,000                            
Conversion of notes through common stock issuance (in shares) | shares       0   0 0 0              
Effective interest rate (as a percent)       4.50%   4.50% 4.50% 4.50%              
Loss on extinguishment of debt         $ (14,000,000.0)                    
Fair value of convertible senior notes       $ 54,500,000     $ 54,500,000