XML 199 R30.htm IDEA: XBRL DOCUMENT v3.21.2
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