v3.19.3
STOCKHOLDERS' EQUITY - Stock Plans and Share Based Compensation Narrative (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Nov. 17, 2015
shares
Sep. 30, 2019
USD ($)
shares
Sep. 30, 2018
USD ($)
Sep. 30, 2019
USD ($)
plan
shares
Sep. 30, 2018
USD ($)
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Number of share based compensation plans | plan       2  
Employee stock purchase plan, compensation expense | $   $ 77,426 $ 58,913 $ 217,980 $ 157,856
Capitalized share-based compensation expense | $   2,400 2,000 6,000 6,300
Unrecognized compensation cost, options | $   745,000   745,000  
Employee stock purchase plan          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Employee stock purchase plan, compensation expense | $   $ 5,100 $ 2,000 $ 14,100 $ 6,300
Stock options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Unrecognized compensation cost, period for recognition       2 years 9 months 18 days  
2009 Stock Option Plan          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares available for future issuance (in shares)   0   0  
2009 Stock Option Plan | Stock options, RSAs, and RSUs          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Equity instruments outstanding (in shares)   20,422,313   20,422,313  
2015 Equity Incentive Plan          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares available for future issuance (in shares)   82,968,841   82,968,841  
Shares reserved for future issuance (in shares) 30,000,000        
Shares reserved for future issuance, percentage of annual increase 5.00%        
2015 Equity Incentive Plan | Stock options, RSAs, and RSUs          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Equity instruments outstanding (in shares)   21,822,262   21,822,262  
2015 Equity Incentive Plan | Maximum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares reserved for future issuance, amount of annual increase (in shares) 40,000,000