v3.25.4

Income taxes - Schedule of Valuation Allowance (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
Movement in Valuation Allowance [Roll Forward] |  |  |
Valuation allowance at beginning of period | $ 55,956 | $ 70,812 | $ 119,961
Increase of allowance included in income tax expense | 5,811 | 21,396 | 2,035
Decrease of allowance included in income tax expense | (14,259) | (36,252) | (51,184)
Net decrease in valuation allowance | (8,448) | (14,856) | (49,149)
Valuation allowance at end of period | $ 47,508 | $ 55,956 | $ 70,812

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_MovementInValuationAllowancesAndReservesRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column B)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-4 + Details
Name: | us-gaap_ValuationAllowancesAndReservesBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of decrease in valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column D)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-4 + Details
Name: | us-gaap_ValuationAllowancesAndReservesDeductions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase (decrease) in valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-5 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-4 + Details
Name: | us-gaap_ValuationAllowancesAndReservesPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase in valuation and qualifying accounts and reserves from recovery of amount previously written off or reestablishment of reserve previously utilized. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-5 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column C)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-4 + Details
Name: | us-gaap_ValuationAllowancesAndReservesRecoveries
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration