Fair Value Measurements - Additional Information (Detail) - USD ($) $ in Thousands |
6 Months Ended | 12 Months Ended | ||||
---|---|---|---|---|---|---|
Dec. 23, 2022 |
Aug. 05, 2022 |
May 20, 2022 |
Jun. 30, 2025 |
Dec. 31, 2022 |
Dec. 31, 2024 |
|
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||||
Proceeds from convertible debt | $ 16,700 | $ 5,000 | $ 8,300 | $ 30,000 | ||
CVR liability | $ 0 | $ 2,900 | ||||
Other income (expense), net | $ 400 | |||||
Convertible Notes [Member] | ||||||
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||||
Percentage of Purchase Price of Convertible notes to Common stock | 90.00% | |||||
Gain on conversion of convertible notes | $ 15,900 |