Cash, cash equivalents and investments - Narrative (Details) - USD ($) |
3 Months Ended | |
---|---|---|
Mar. 31, 2022 |
Mar. 31, 2021 |
|
Cash and Cash Equivalents [Abstract] | ||
Realized gains (losses) recognized on available-for-sale investments | $ 0 | $ 0 |
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
|