v3.25.2
Debt (Details)
$ / shares in Units, shares in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Oct. 11, 2024
USD ($)
Apr. 30, 2020
USD ($)
$ / shares
Oct. 31, 2023
Apr. 30, 2020
USD ($)
$ / shares
Jun. 30, 2025
USD ($)
$ / shares
shares
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
shares
Jun. 30, 2024
USD ($)
Dec. 31, 2024
USD ($)
$ / shares
shares
Sep. 30, 2024
Jul. 19, 2024
USD ($)
Jun. 30, 2023
USD ($)
May 31, 2023
USD ($)
Dec. 31, 2020
USD ($)
Sep. 30, 2015
USD ($)
Debt Instrument [Line Items]                              
Remaining borrowing capacity         $ 20,000,000   $ 20,000,000                
Collateral amount         $ 150,000,000   $ 150,000,000                
Common Stock, Par or Stated Value Per Share | $ / shares         $ 0.0001   $ 0.0001   $ 0.0001            
Common stock, shares issued | shares         136,757   136,757   132,646            
Amortization of debt discount and issuance cost               $ 658,000              
Interest expense         $ 1,029,000 $ 3,127,000 $ 2,034,000 6,251,000              
Convertible Notes                              
Debt Instrument [Line Items]                              
Principal amount   $ 287,500,000   $ 287,500,000             $ 287,500,000        
Per annum interest rate (as a percent) 2.25%     2.25%                      
Interest expense           1,947,000   3,892,000              
Common Stock, Par or Stated Value Per Share | $ / shares   $ 0.0001   $ 0.0001                      
Effective interest rate (as a percent)         2.25%   2.25%                
Principal amount per convertible note       $ 1,000                      
Conversion price (in dollars per share) | $ / shares   $ 38.79   $ 38.79                      
Initial conversion rate   25.7785                          
Conversion rate increase 0.4284                            
Convertible to shares of common stock 7,500,000 7,411,704                          
Percentage of principal amount converted 100.00%                            
Line Of Credit-UBS                              
Debt Instrument [Line Items]                              
Maximum borrowing capacity                       $ 100,000,000 $ 150,000,000 $ 150,000,000 $ 50,000,000
Outstanding balance         $ 80,300,000   $ 80,300,000   $ 80,400,000            
Credit facility drawn down             80,000,000                
Remaining borrowing capacity         20,000,000   20,000,000                
Collateral amount         150,000,000   150,000,000                
Interest expense         $ 1,000,000 $ 1,200,000 $ 2,000,000 $ 2,400,000              
Spread on interest rate (as a percent)     0.50%       0.50%                
Debt Instrument, Variable Interest Rate, Type [Extensible Enumeration]             us-gaap:SecuredOvernightFinancingRateSofrMember                
Interest rate (as a percent)         4.82%   4.82%     4.82%          
Interest expense         $ 1,000,000