XML 77 R59.htm IDEA: XBRL DOCUMENT v3.20.4
Investments and Fair Value Measurements - Convertible senior notes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Maturity period for marketable securities    
Maximum contractual maturity period 8 months  
Weighted average contractual maturity period 3 months  
Fair value transfers    
Fair value of assets transferred from Level 1 to Level 2 $ 0 $ 0
Fair value of assets transferred from Level 2 to Level 1 0 0
Fair value of liabilities transferred from Level 1 to Level 2 0 0
Fair value of liabilities transferred from Level 2 to Level 1 0 $ 0
Unrealized losses    
Net unrealized losses 0  
Available-for-sale securities sold $ 19,900