XML 67 R51.htm IDEA: XBRL DOCUMENT v3.22.4
Cash and Cash equivalents and Short-term investments - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended
Nov. 30, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash and Cash Equivalents [Line Items]          
Net unrealized loss on securities $ 911        
Cumulative impact to its accumulated deficit   $ 441,170 $ 410,494 $ 476,526 $ 217,790
AOCI, Accumulated Gain (Loss), Debt Securities, Available-for-Sale, Parent          
Cash and Cash Equivalents [Line Items]          
Cumulative impact to its accumulated deficit   $ 445