XML 58 R47.htm IDEA: XBRL DOCUMENT v3.20.2
Fair Value of Financial Instruments - Measured on Recurring Basis (Details) - Recurring basis - USD ($)
$ in Thousands
Jun. 30, 2020
Dec. 31, 2019
Assets:    
Convertible note hedges $ 16,131 $ 31,366
Total assets measured at fair value 256,582 210,577
Liabilities:    
Note hedge warrants 12,958 24,260
Total liabilities measured at fair value 12,958 24,260
Money market funds    
Assets:    
Cash and cash equivalents 238,230 139,190
Restricted cash 2,221 2,221
Repurchase agreements    
Assets:    
Cash and cash equivalents   37,800
Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets:    
Total assets measured at fair value 240,451 179,211
Quoted Prices in Active Markets for Identical Assets (Level 1) | Money market funds    
Assets:    
Cash and cash equivalents 238,230 139,190
Restricted cash 2,221 2,221
Quoted Prices in Active Markets for Identical Assets (Level 1) | Repurchase agreements    
Assets:    
Cash and cash equivalents   37,800
Significant Unobservable Inputs (Level 3)    
Assets:    
Convertible note hedges 16,131 31,366
Total assets measured at fair value 16,131 31,366
Liabilities:    
Note hedge warrants 12,958 24,260
Total liabilities measured at fair value $ 12,958 $ 24,260