Cash, cash equivalents and investments - Narrative (Details) - USD ($) |
3 Months Ended | 6 Months Ended | |||
---|---|---|---|---|---|
Jun. 30, 2021 |
Jun. 30, 2020 |
Jun. 30, 2021 |
Jun. 30, 2020 |
Dec. 31, 2020 |
|
Cash and Cash Equivalents [Abstract] | |||||
Cash equivalents | $ 91,800,000 | $ 91,800,000 | $ 64,000,000.0 | ||
Realized gains (losses) recognized on available-for-sale investments | $ 0 | $ 0 | $ 0 | $ 200,000 |
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
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
|