v3.19.3
INDEBTEDNESS - Convertible Note Hedge and Warrant Transactions (Details) - USD ($)
$ / shares in Units, $ in Thousands, shares in Millions
9 Months Ended 12 Months Ended
May 25, 2018
Mar. 06, 2017
Sep. 30, 2019
Sep. 30, 2018
Dec. 31, 2018
Debt Instrument [Line Items]          
Proceeds from issuance of warrants     $ 0 $ 112,125  
Convertible Debt          
Debt Instrument [Line Items]          
Conversion price of convertible debt (in USD per share) $ 77.85 $ 22.95      
Conversion price of convertible debt after effect of warrants and note hedge (in USD per share) $ 109.26 $ 31.18      
Common Stock Warrant          
Debt Instrument [Line Items]          
Warrants to purchase aggregate shares of capital stock (in shares) 11.1 19.2      
Warrants, weighted average exercise price (in USD per share) $ 109.26 $ 31.18      
Proceeds from issuance of warrants $ 112,100 $ 57,200      
Shares of common stock received due to exercise of note hedges (in shares)     0.3   6.9
Options          
Debt Instrument [Line Items]          
Warrants to purchase aggregate shares of capital stock (in shares) 11.1 19.2      
Convertible note hedge, option to purchase common stock, price (in USD per share) $ 77.85 $ 22.95      
Cost of convertible note hedge $ 172,600 $ 92,100