Fresh-Start Reporting - Liabilities subject to compromise (Details) - Reorganization, Chapter 11, Plan Effect Adjustment $ in Thousands  | 
 Aug. 27, 2020  
USD ($) 
 | 
|---|---|
| Reorganization, Chapter 11 [Line Items] | |
| Liabilities subject to compromise pre-emergence | $ 4,472,954 | 
| Reinstated on the Effective Date: | |
| Lease liabilities (current and non-current) | (15,687) | 
| Deferred tax liabilities | (26,107) | 
| Other long-term liabilities | (3,796) | 
| Total liabilities reinstated | (45,590) | 
| Less amounts settled per the Plan of Reorganization | |
| Issuance of new debt | (410,000) | 
| Issuance of warrants | (11,200) | 
| Equity issued at emergence to creditors in settlement of Liabilities Subject to Compromise | (666,973) | 
| Total amounts settled | (1,088,173) | 
| Gain on settlement of Liabilities Subject to Compromise | $ 3,339,191 | 
| X | ||||||||||
- Definition Gain on settlement of liabilities subject to compromise. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of liability subject to compromise from lease liabilities. No definition available. 
  | 
| X | ||||||||||
- Definition Liabilities subject to compromise, settled through issuance of debt. No definition available. 
  | 
| X | ||||||||||
- Definition Liabilities subject to compromise, settled through issuance of shares. No definition available. 
  | 
| X | ||||||||||
- Definition Liabilities subject to compromise, settled through issuance of warrant. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of liability subject to compromise before emergence of fresh start adjustment. No definition available. 
  | 
| X | ||||||||||
- Definition Liabilities Subject to Compromise, Reinstated [Abstract]. No definition available. 
  | 
| X | ||||||||||
- Definition Liabilities Subject to Compromise, Settled [Abstract]. No definition available. 
  | 
| X | ||||||||||
- Definition Total liabilities subject to compromise that are reinstated. No definition available. 
  | 
| X | ||||||||||
- Definition Amount paid to settle bankruptcy claim. No definition available. 
  | 
| X | ||||||||||
- Definition The amount of income taxes included in liabilities subject to compromise. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition The amount of other obligations included in liabilities subject to compromise. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| 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 | ||||||||||
- Details 
  |