Consolidated Statements of Comprehensive Loss (Parenthetical) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Stock-based compensation | $ 662,195 | $ 543,953 | $ 394,004 |
| Sales and marketing | |||
| Stock-based compensation | 268,408 | 228,045 | 170,527 |
| Research and development | |||
| Stock-based compensation | 194,821 | 135,203 | 92,025 |
| General and administrative | |||
| Stock-based compensation | 83,115 | 99,151 | 68,717 |
| Subscription | Cost of revenues | |||
| Stock-based compensation | 72,728 | 48,738 | 35,334 |
| Professional services and other | Cost of revenues | |||
| Stock-based compensation | $ 43,123 | $ 32,816 | $ 27,401 |