XML 45 R35.htm IDEA: XBRL DOCUMENT v3.20.2
Investments and Fair Value Measurements - Convertible senior notes (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Maturity period for marketable securities        
Maximum contractual maturity period     10 months  
Weighted average contractual maturity period     4 months  
Available-for-sale securities sold $ 5,000 $ 0 $ 19,900 $ 0