XML 50 R38.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of significant accounting policies - Cash, Cash Equivalents, and Restricted Cash (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Jun. 30, 2021
Dec. 31, 2020
Accounting Policies [Abstract]        
Cash and cash equivalents $ 512,166 $ 533,868    
Restricted cash, non-current 3,629 2,900    
Total cash, cash equivalents and restricted cash $ 515,795 $ 536,768 $ 166,098 $ 177,931