There are two main types of spray foam to consider: open-cell and closed-cell. Open-cell spray foam has a lower R-value per inch and because of this, typically a lower price tag. The soft, low-density material is used for interior applications. Its high permeability allows for moisture to pass through, which contributes to bi-directional drying of the assembly, but it may not be ideal for all applications or climates. 
Global warming potential (GWP), as defined by the EPA, is a measure of how much energy the emissions of 1 ton of a gas will absorb over a given period of time, relative to the emissions of 1 ton of carbon dioxide (CO2).  Spray foam insulation products that use water as the blowing agent - typically open-cell foam however Icynene’s ProSeal Eco is a 100 percent water blown closed-cell spray foam – have a global warming potential of 1, the lowest possible number.  This is because water in the mixture reacts during the application process to release carbon dioxide and heat. The GWP of the blowing agent is that of carbon dioxide. Carbon dioxide has a GWP of 1.

Spray Foam Basement Walls

The insulation at eaves level will leave your loft area comfortable for use and free from condensation. By installing the insulation at rafter level, it keeps the loft void warmer and prevents condensation build-up, which can otherwise occur when increasing insulation at ceiling level. The warmer, drier, cleaner roof space eliminates the risk of pipes and tanks freezing.
If your foam pulled away just a little bit, Jamie, and they were able to fix it with just a little bit of touching up, then it wasn't as bad as the house where I saw this problem. As the last photo above shows, it had pulled away significantly from the studs and rafters, and it was all over the house. This was closed cell foam, and interestingly, it didn't pull away from the horizontal framing members, just the vertical and sloped ones. They did some touch up, but that wasn't enough. I don't know how this one ended up getting resolved. I think maybe the contractor came back and sprayed cellulose on top of the foam.

Roof Coating Denver Colorado