v3.25.4
Summary of significant accounting policies and basis of presentation - Net Income (Loss) Per Share - (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2023
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities 11,910,801 10,450,407 8,818,841
Numerator:      
Net (loss) income $ (119,721) $ (65,002) $ 132,330
Denominator for basic net (loss) income per share:      
Weighted average shares outstanding-basic 58,691,136 57,667,543 43,020,747
Denominator for diluted net (loss) income per share:      
Weighted average shares outstanding-basic 58,691,136 57,667,543 43,020,747
Common stock options and restricted stock units     1,548,587
Weighted average shares outstanding-diluted 58,691,136 57,667,543 44,569,334
Financial instruments with off-balance sheet risk $ 0    
Unvested restricted common stock awards      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities     22,500
Unvested restricted common stock units      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities 2,296,920 1,649,943 1,370,897
Employee Stock Option [Member]      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities 9,613,881 8,800,464 7,425,444