Summary of Significant Accounting Policies (Details) $ in Thousands |
6 Months Ended | |||||
|---|---|---|---|---|---|---|
|
Jun. 30, 2017
USD ($)
segment
|
Jun. 30, 2016
USD ($)
|
Jan. 01, 2017
USD ($)
|
||||
| Accounting Policies [Abstract] | ||||||
| Number of Operating Segments | segment | 1 | |||||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | ||||||
| Net cash provided by operating activities | $ 134,531 | $ 61,033 | [1] | |||
| Net cash provided by (used in) financing activities | $ 18,368 | (18,040) | [1] | |||
| ASU 2016-09 | ||||||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | ||||||
| Net cash provided by operating activities | 600 | |||||
| Net cash provided by (used in) financing activities | $ 600 | |||||
| ASU 2016-09 | Accumulated deficit | ||||||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | ||||||
| Cumulative-effect increase to our accumulated deficit for previously estimated forfeitures | $ 400 | |||||
| ASU 2016-09 | Pro forma | ||||||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | ||||||
| Deferred tax assets | $ 180,900 | |||||
| ||||||