v3.10.0.1
Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Statement Of Income And Comprehensive Income [Abstract]      
Net loss $ (1,255,911) $ (3,445,066) $ (514,643)
Other comprehensive income (loss), net of tax      
Unrealized gain (loss) on marketable securities, net of tax 710 (1,122) 44
Foreign currency translation (11,720) 17,336 (2,101)
Total other comprehensive income (loss), net of tax (11,010) 16,214 (2,057)
Total comprehensive income (loss) $ (1,266,921) $ (3,428,852) $ (516,700)