Amazon.com Inc. shares soared in after-hours trading on Thursday as investors focused on a solid second-quarter revenue performance and positive third-quarter guidance, and not on a second-quarter net loss and a decline in operating income. Net sales increased 7% year over year to $121.2 billion in the second quarter, compared with $113.1 billion in second-quarter 2021, Amazon said.