Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies (Details 2)

v3.8.0.1
Summary of Significant Accounting Policies (Details 2) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net cash provided by operating activities $ 26,195 $ 60,082
Net cash provided by investing activities (34,804) 2,010
Net increase in cash and cash equivalents and restricted cash (2,298) 16,139
Beginning of period 14,831 212,619
End of period $ 12,533 228,758
Accounting Standards Update 2016-18    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net cash provided by operating activities   (555)
Net cash provided by investing activities   87
Net increase in cash and cash equivalents and restricted cash   (468)
Beginning of period   2,756
End of period   2,288
As Previously Reported    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net cash provided by operating activities   60,637
Net cash provided by investing activities   1,923
Net increase in cash and cash equivalents and restricted cash   16,607
Beginning of period   209,863
End of period   $ 226,470