Acquisitions - Summary of Fair Value Assets and Liabilities Assumed (Details) - USD ($) $ in Thousands |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
Dec. 31, 2013 |
|---|---|---|---|---|
| Business Acquisition [Line Items] | ||||
| Cash | $ 206,364 | $ 203,864 | $ 152,154 | $ 99,699 |
| Goodwill | $ 87,543 | 87,543 | $ 51,786 | |
| Clean Energy Experts, LLC | ||||
| Business Acquisition [Line Items] | ||||
| Cash | 424 | |||
| Accounts receivable | 639 | |||
| Intangible assets | 13,290 | |||
| Accounts payable and accrued liabilities | (1,247) | |||
| Deferred tax liability | (5,146) | |||
| Identifiable assets and liabilities assumed | 7,960 | |||
| Goodwill | 35,757 | |||
| Total | $ 43,717 |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- Definition Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary difference assumed at the acquisition date that are classified as current. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition The amount of identifiable intangible assets recognized as of the acquisition date. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Details
|