XML 43 R38.htm IDEA: XBRL DOCUMENT v3.20.1
Summary of significant accounting policies - Cash, cash equivalents, and restricted cash (Details) - USD ($)
$ in Thousands
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Summary of significant accounting policies      
Cash and cash equivalents $ 98,849 $ 150,637  
Short-term and long-term restricted cash 345 491  
Total cash, cash equivalents, and restricted cash shown in the statements of cash flows $ 99,194 $ 151,128 $ 92,609