XML 53 R37.htm IDEA: XBRL DOCUMENT v3.20.2
Balance Sheet Details - Short-Term Investments (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2020
Dec. 31, 2019
Short-term investments    
Amortized cost $ 127,001 $ 111,161
Unrealized gains 980 409
Unrealized losses (15) (17)
Estimated fair value 127,966 111,553
U.S. Government agency bonds    
Short-term investments    
Amortized cost 14,500  
Unrealized gains 2  
Unrealized losses (4)  
Estimated fair value $ 14,498  
U.S. Government agency bonds | Maximum    
Short-term investments    
Maturity 4 years  
Bank certificates of deposit    
Short-term investments    
Amortized cost $ 16,900 12,999
Unrealized gains 45 7
Unrealized losses (1)  
Estimated fair value $ 16,944 $ 13,006
Bank certificates of deposit | Maximum    
Short-term investments    
Maturity 1 year 1 year
Commercial paper    
Short-term investments    
Amortized cost $ 8,488 $ 7,475
Unrealized gains 11 8
Estimated fair value $ 8,499 $ 7,483
Commercial paper | Maximum    
Short-term investments    
Maturity 1 year 1 year
Corporate notes    
Short-term investments    
Amortized cost $ 67,347 $ 65,354
Unrealized gains 597 295
Unrealized losses (10) (10)
Estimated fair value $ 67,934 $ 65,639
Corporate notes | Maximum    
Short-term investments    
Maturity 3 years 3 years
Asset-backed securities    
Short-term investments    
Amortized cost $ 19,766 $ 25,333
Unrealized gains 325 99
Unrealized losses   (7)
Estimated fair value $ 20,091 $ 25,425
Asset-backed securities | Maximum    
Short-term investments    
Maturity 5 years 3 years