XML 52 R38.htm IDEA: XBRL DOCUMENT v3.21.2
Short-term Investments - Narrative (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
USD ($)
position
Sep. 30, 2020
USD ($)
Sep. 30, 2021
USD ($)
position
Sep. 30, 2020
USD ($)
Investments, Debt and Equity Securities [Abstract]        
Realized gain on investments $ 22 $ 105 $ 380 $ 741
Realized loss on investments 58 101 262 1,300
Unrealized loss $ 455   $ 1,200  
Unrealized gain   $ 1,300   $ 625
Number of securities in a gross unrealized loss position | position 23   23  
Number of securities in a gross unrealized loss position for more than twelve months | position 4   4  
Unrealized loss     $ 277