XML 65 R47.htm IDEA: XBRL DOCUMENT v3.20.2
Fair value of financial instruments and marketable securities - Available for sale (Details) - USD ($)
$ in Thousands
Jun. 30, 2020
Dec. 31, 2019
Debt Securities, Available-for-sale [Line Items]    
Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss $ 2 $ 28
Amortized Cost 337,021 397,776
Gross Unrealized, Gain 3,411 787
Gross Unrealized, Loss (2) (28)
Fair Value 340,430 398,535
Securities in an unrealized loss position less than 12 months 9,196 95,990
Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss 0 0
Securities in an unrealized loss position greater than 12 months 0 0
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss 2 28
Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value 9,196 95,990
Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 53,638 157,936
Gross Unrealized, Gain 178 162
Gross Unrealized, Loss 0 0
Fair Value 53,816 158,098
Corporate debt securities    
Debt Securities, Available-for-sale [Line Items]    
Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss   20
Amortized Cost 221,068 188,778
Gross Unrealized, Gain 2,882 576
Gross Unrealized, Loss 0 (20)
Fair Value 223,950 189,334
Securities in an unrealized loss position less than 12 months   71,779
Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss   0
Securities in an unrealized loss position greater than 12 months   0
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss   20
Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value   71,779
Asset-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss 1 8
Amortized Cost 44,492 51,062
Gross Unrealized, Gain 332 49
Gross Unrealized, Loss (1) (8)
Fair Value 44,823 51,103
Securities in an unrealized loss position less than 12 months 594 24,211
Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss 0 0
Securities in an unrealized loss position greater than 12 months 0 0
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss 1 8
Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value 594 $ 24,211
Government obligations    
Debt Securities, Available-for-sale [Line Items]    
Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss 1  
Amortized Cost 17,823  
Gross Unrealized, Gain 19  
Gross Unrealized, Loss (1)  
Fair Value 17,841  
Securities in an unrealized loss position less than 12 months 8,602  
Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss 0  
Securities in an unrealized loss position greater than 12 months 0  
Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss 1  
Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value $ 8,602