XML 114 R49.htm IDEA: XBRL DOCUMENT v3.22.0.1
Cash and Cash equivalents and Short-term investments- Summary of Cash and Cash Equivalents (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Cash and Cash Equivalents [Line Items]    
Cash and cash equivalents $ 208,802 $ 234,674
Cash    
Cash and Cash Equivalents [Line Items]    
Cash and cash equivalents 3,139 20,339
Money market funds    
Cash and Cash Equivalents [Line Items]    
Cash and cash equivalents 64,668 214,335
Certificate of deposits, notes and term deposits    
Cash and Cash Equivalents [Line Items]    
Cash and cash equivalents $ 140,995 $ 0