Summary of Significant Accounting Policies (Narrative) (Details)
12 Months Ended
Mar. 09, 2016
USD ($)
Feb. 19, 2016
USD ($)
Dec. 31, 2015
USD ($)
well
Dec. 31, 2014
USD ($)
Dec. 31, 2013
USD ($)
Jun. 30, 2017
Jun. 30, 2016
Apr. 10, 2016
USD ($)
Dec. 31, 2012
USD ($)
Accounting Policies [Line Items]                  
Proceeds from sale of oil and natural gas properties     $ 47,314,000 $ 5,530,000 $ 112,201,000        
Cash and cash equivalents     50,074,000 11,008,000 32,393,000       $ 8,901,000
Allowance for doubtful accounts     $ 0 0 507,000       $ 546,000
Discount rate for oil and natural gas prices held constant     10.00%            
Capitalized interest     $ 3,900,000 $ 4,300,000 $ 3,300,000        
Expected Forfeitures (percentage)     17.50% 25.50% 14.00%        
Amendment No. 8                  
Accounting Policies [Line Items]                  
Revolving credit facility borrowing base     $ 200,000,000            
Maximum | Furniture and equipment                  
Accounting Policies [Line Items]                  
Estimated useful lives     7 years            
Minimum | Furniture and equipment                  
Accounting Policies [Line Items]                  
Estimated useful lives     3 years            
Scenario Forecast | Amendment No. 8                  
Accounting Policies [Line Items]                  
Leverage ratio           2.00 2.50    
Interest coverage ratio           250.00% 110.00%    
Revolving credit facility borrowing base               $ 100,000,000  
Scenario Forecast | Amendment No. 8 | Eurodollar                  
Accounting Policies [Line Items]                  
Applicable interest margin (percentage) 4.00%                
Scenario Forecast | Amendment No. 8 | Reference Rate                  
Accounting Policies [Line Items]                  
Applicable interest margin (percentage) 3.00%                
Scenario Forecast | Maximum | Amendment No. 8                  
Accounting Policies [Line Items]                  
Leverage ratio           4.0      
Canada                  
Accounting Policies [Line Items]                  
Number of gas wells | well     2            
Subsequent Event | Amendment No. 8                  
Accounting Policies [Line Items]                  
Revolving credit facility borrowing base $ 180,000,000                
Threshold for automatic reductions of the borrowing base in connection with asset sales 5,000,000                
Threshold for lenders consent requirement in connection with asset sales $ 5,000,000                
Subsequent Event | Appalchian Basin                  
Accounting Policies [Line Items]                  
Proceeds from sale of oil and natural gas properties   $ 80,000,000