v3.25.2
Net Loss Per Share - Schedule of Reconciliation of the Numerator and Denominator Used to Calculate Diluted Net Income (Loss) per Common Share (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Numerator        
Net income (loss) $ (37,252) $ 23,792 $ (60,714) $ (13,570)
Allocation to participating securities   (5,541)   0
Numerator for basic net income (loss) per common share (A)   18,251   (13,570)
Add back gain on extinguishment of debt $ 0 (44,702) $ 0 (44,702)
Numerator for diluted net loss per common share (C)   $ (30,599)   $ (60,623)
Denominator        
Weighted-average number of common shares outstanding (B) 8,620 8,069 8,545 7,884
Denominator for diluted net loss per common share (D) 8,620 10,295 8,545 8,472
Net Income (loss) per Common Share        
Basic net income (loss) per common share (= A / B) $ (4.32) $ 2.26 $ (7.11) $ (1.72)
Diluted net loss per common share (= C / D) $ (4.32) $ (2.97) $ (7.11) $ (7.16)
May 2024 Warrants [Member]        
Numerator        
Add back gain from the change in fair value   $ 0   $ (4,652)
Denominator        
Dilutive effect of May 2024 Warrants calculated using the treasury method   0   28,000
2025 Notes [Member]        
Numerator        
Add back interest expense   $ 799   $ 2,301
Denominator        
Dilutive effect of Notes calculated using the if-converted method   393,000   560,000
2029 Notes [Member]        
Numerator        
Add back gain on extinguishment of debt   $ (44,700)    
Add back interest expense   $ 1,943   $ 0
Denominator        
Dilutive effect of Notes calculated using the if-converted method   1,833,000   0
2029 Notes Derivatives [Member]        
Numerator        
Add back gain from the change in fair value   $ (6,890)   $ 0