XML 45 R36.htm IDEA: XBRL DOCUMENT v3.23.2
Fair value measurements - Schedule of Unrealized Loss on Investments (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Fair value    
Less than 12 months $ 9,875 $ 0
12 months or greater 37,683 68,735
Total 47,558 68,735
Unrealized losses    
Less than 12 months (9) 0
12 months or greater (313) (1,759)
Total (322) (1,759)
U.S. government agency securities and treasuries    
Fair value    
Less than 12 months 9,875 0
12 months or greater 37,186 66,237
Total 47,061 66,237
Unrealized losses    
Less than 12 months (9) 0
12 months or greater (310) (1,733)
Total (319) (1,733)
Corporate bonds    
Fair value    
Less than 12 months 0 0
12 months or greater 497 2,498
Total 497 2,498
Unrealized losses    
Less than 12 months 0 0
12 months or greater (3) (26)
Total $ (3) $ (26)