XML 55 R39.htm IDEA: XBRL DOCUMENT v3.21.2
Short-term investments (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Dec. 31, 2020
Schedule Of Available For Sale Securities [Line Items]    
Short-term investments $ 0 $ 744,676
Investments, allowance for credit losses   $ 0
Maturities of Time Deposits, Description time deposits with original maturities between three months and one year.  
Minimum    
Schedule Of Available For Sale Securities [Line Items]    
Time deposits, Maturity period 3 months  
Maximum    
Schedule Of Available For Sale Securities [Line Items]    
Time deposits, Maturity period 1 year