Cash, cash equivalents and investments - Narrative (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | |
---|---|---|---|
Jun. 30, 2019 |
Jun. 30, 2020 |
Jun. 30, 2019 |
|
Cash and Cash Equivalents [Abstract] | |||
Realized gains (losses) recognized on available-for-sale investments | $ 0.1 | $ 0.2 | $ 0.1 |
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|