Income Taxes - Additional Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Income Tax Disclosure [Abstract] | ||||
| Provision for (benefit from) income taxes | $ 4,826 | $ 4,636 | $ 14,944 | $ 8,125 |
| Effective tax rate (percent) | 145.10% | (45.70%) | 266.00% | (32.50%) |
| Income (loss) before taxes | $ 3,326 | $ (10,145) | $ 5,618 | $ (25,022) |
| Gross unrecognized tax benefits | 15,500 | 15,500 | ||
| Unrecognized tax benefits that would impact the effective income tax rate | $ 1,100 | $ 1,100 | ||
| Income tax examination description | As of June 30, 2026, the Company’s 2021 through 2026 tax years are generally open and subject to potential examination in one or more jurisdictions. In addition, in the United States, any net operating losses or credits that were generated in prior years but not yet fully utilized in a year that is closed under the statute of limitations may also be subject to examination. | |||
| Income tax year under examination | 2021 2022 2023 2024 2025 2026 | |||
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition A brief description of status of the tax examination, significant findings to date, and the entity's position with respect to the findings. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Tax year being audited in the income tax examination, in YYYY format. No definition available.
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|